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

Side by Side Diff: cc/base/unique_notifier_unittest.cc

Issue 1971783002: Fix include path for moved thread_task_runner_handle.h header in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 | « cc/animation/animation_host_perftest.cc ('k') | cc/debug/micro_benchmark_controller.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/bind_helpers.h" 6 #include "base/bind_helpers.h"
7 #include "base/run_loop.h" 7 #include "base/run_loop.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "base/thread_task_runner_handle.h" 9 #include "base/threading/thread_task_runner_handle.h"
10 #include "cc/base/unique_notifier.h" 10 #include "cc/base/unique_notifier.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 namespace cc { 13 namespace cc {
14 namespace { 14 namespace {
15 15
16 class UniqueNotifierTest : public testing::Test { 16 class UniqueNotifierTest : public testing::Test {
17 public: 17 public:
18 UniqueNotifierTest() : notification_count_(0) {} 18 UniqueNotifierTest() : notification_count_(0) {}
19 19
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 notifier.Schedule(); 67 notifier.Schedule();
68 } 68 }
69 69
70 // Notifier went out of scope, so we don't expect to get a notification. 70 // Notifier went out of scope, so we don't expect to get a notification.
71 base::RunLoop().RunUntilIdle(); 71 base::RunLoop().RunUntilIdle();
72 EXPECT_EQ(3, NotificationCount()); 72 EXPECT_EQ(3, NotificationCount());
73 } 73 }
74 74
75 } // namespace 75 } // namespace
76 } // namespace cc 76 } // namespace cc
OLDNEW
« no previous file with comments | « cc/animation/animation_host_perftest.cc ('k') | cc/debug/micro_benchmark_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698