blob: fcd06296ee67a2c7c753a4d3d44a5573b08b4792 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/base/simple_sync_token_client.h"
namespace media {
SimpleSyncTokenClient::SimpleSyncTokenClient(const gpu::SyncToken& sync_token)
: sync_token_(sync_token) {}
void SimpleSyncTokenClient::GenerateSyncToken(gpu::SyncToken* sync_token) {
*sync_token = sync_token_;
}
void SimpleSyncTokenClient::WaitSyncToken(const gpu::SyncToken& sync_token) {}
} // namespace media