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

Side by Side Diff: cc/trees/proxy.cc

Issue 1165333003: Remove unnecessary message_loop_proxy.h includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 6 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
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 "cc/trees/proxy.h" 5 #include "cc/trees/proxy.h"
6 6
7 #include "base/message_loop/message_loop_proxy.h"
8 #include "base/single_thread_task_runner.h" 7 #include "base/single_thread_task_runner.h"
9 #include "cc/trees/blocking_task_runner.h" 8 #include "cc/trees/blocking_task_runner.h"
10 9
11 namespace cc { 10 namespace cc {
12 11
13 base::SingleThreadTaskRunner* Proxy::MainThreadTaskRunner() const { 12 base::SingleThreadTaskRunner* Proxy::MainThreadTaskRunner() const {
14 return main_task_runner_.get(); 13 return main_task_runner_.get();
15 } 14 }
16 15
17 bool Proxy::HasImplThread() const { return !!impl_task_runner_.get(); } 16 bool Proxy::HasImplThread() const { return !!impl_task_runner_.get(); }
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 impl_thread_is_overridden_(false), 82 impl_thread_is_overridden_(false),
84 is_main_thread_blocked_(false) { 83 is_main_thread_blocked_(false) {
85 #endif 84 #endif
86 } 85 }
87 86
88 Proxy::~Proxy() { 87 Proxy::~Proxy() {
89 DCHECK(IsMainThread()); 88 DCHECK(IsMainThread());
90 } 89 }
91 90
92 } // namespace cc 91 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_damage.cc ('k') | chromecast/media/cma/backend/media_component_device_default.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698