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

Side by Side Diff: content/utility/utility_blink_platform_impl.h

Issue 2812063002: [scheduler] Remove WebThreadImplForUtilityThread from public API. (Closed)
Patch Set: Fix unittest compilation Created 3 years, 8 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 | « no previous file | content/utility/utility_blink_platform_impl.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef CONTENT_UTILITY_UTILITY_BLINK_PLATFORM_IMPL_H_ 5 #ifndef CONTENT_UTILITY_UTILITY_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_UTILITY_UTILITY_BLINK_PLATFORM_IMPL_H_ 6 #define CONTENT_UTILITY_UTILITY_BLINK_PLATFORM_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "content/child/blink_platform_impl.h" 11 #include "content/child/blink_platform_impl.h"
12 12
13 namespace blink { 13 namespace blink {
14 namespace scheduler { 14 namespace scheduler {
15 class WebThreadImplForUtilityThread; 15 class WebThreadBase;
16 } 16 }
17 } 17 }
18 18
19 namespace content { 19 namespace content {
20 20
21 class UtilityBlinkPlatformImpl : public BlinkPlatformImpl { 21 class UtilityBlinkPlatformImpl : public BlinkPlatformImpl {
22 public: 22 public:
23 UtilityBlinkPlatformImpl(); 23 UtilityBlinkPlatformImpl();
24 ~UtilityBlinkPlatformImpl() override; 24 ~UtilityBlinkPlatformImpl() override;
25 25
26 // BlinkPlatformImpl implementation. 26 // BlinkPlatformImpl implementation.
27 blink::WebThread* CurrentThread() override; 27 blink::WebThread* CurrentThread() override;
28 28
29 private: 29 private:
30 std::unique_ptr<blink::scheduler::WebThreadImplForUtilityThread> main_thread_; 30 std::unique_ptr<blink::scheduler::WebThreadBase> main_thread_;
31 31
32 DISALLOW_COPY_AND_ASSIGN(UtilityBlinkPlatformImpl); 32 DISALLOW_COPY_AND_ASSIGN(UtilityBlinkPlatformImpl);
33 }; 33 };
34 34
35 } // namespace content 35 } // namespace content
36 36
37 #endif // CONTENT_UTILITY_UTILITY_BLINK_PLATFORM_IMPL_H_ 37 #endif // CONTENT_UTILITY_UTILITY_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/utility/utility_blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698