Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Side by Side Diff: cc/scheduler/begin_frame_source_unittest.cc

Issue 1366123002: Cleanup: IWYU for base/gtest_prod_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gtest_iwyu
Patch Set: more lint Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/trace_event/trace_log.h ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <deque> 5 #include <deque>
6 #include <string> 6 #include <string>
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/gtest_prod_util.h"
10 #include "base/test/test_simple_task_runner.h" 9 #include "base/test/test_simple_task_runner.h"
11 #include "cc/scheduler/begin_frame_source.h" 10 #include "cc/scheduler/begin_frame_source.h"
12 #include "cc/test/begin_frame_args_test.h" 11 #include "cc/test/begin_frame_args_test.h"
13 #include "cc/test/scheduler_test_common.h" 12 #include "cc/test/scheduler_test_common.h"
14 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
15 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
16 15
17 // Macros to help set up expected calls on the MockBeginFrameObserver. 16 // Macros to help set up expected calls on the MockBeginFrameObserver.
18 #define EXPECT_BEGIN_FRAME_DROP(obs, frame_time, deadline, interval) \ 17 #define EXPECT_BEGIN_FRAME_DROP(obs, frame_time, deadline, interval) \
19 { \ 18 { \
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 mux_->SetActiveSource(source2_); 769 mux_->SetActiveSource(source2_);
771 SEND_BEGIN_FRAME_DROP(*source2_, 750, 1050, 300); 770 SEND_BEGIN_FRAME_DROP(*source2_, 750, 1050, 300);
772 SEND_BEGIN_FRAME_USED(*source2_, 1050, 1250, 300); 771 SEND_BEGIN_FRAME_USED(*source2_, 1050, 1250, 300);
773 772
774 mux_->SetActiveSource(source1_); 773 mux_->SetActiveSource(source1_);
775 SEND_BEGIN_FRAME_DROP(*source2_, 1100, 1400, 300); 774 SEND_BEGIN_FRAME_DROP(*source2_, 1100, 1400, 300);
776 } 775 }
777 776
778 } // namespace 777 } // namespace
779 } // namespace cc 778 } // namespace cc
OLDNEW
« no previous file with comments | « base/trace_event/trace_log.h ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698