Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / cc / test / fake_output_surface_client.cc
blob2033aceec1c57dd3db93667ff7e1ce25cfa5e70e
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "cc/test/fake_output_surface_client.h"
7 namespace cc {
9 void FakeOutputSurfaceClient::DeferredInitialize() {
10 deferred_initialize_called_ = true;
13 void FakeOutputSurfaceClient::BeginFrame(const BeginFrameArgs& args) {
14 begin_frame_count_++;
17 void FakeOutputSurfaceClient::DidLoseOutputSurface() {
18 did_lose_output_surface_called_ = true;
21 void FakeOutputSurfaceClient::SetMemoryPolicy(
22 const ManagedMemoryPolicy& policy) {
23 memory_policy_ = policy;
26 } // namespace cc