1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18

media / base / simple_sync_token_client.cc [blame]

// Copyright 2019 The Chromium Authors
// 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