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

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

Issue 1133563007: Adding WebThread and new BlinkPlatformImpl for utility thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit. Created 5 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_UTILITY_UTILITY_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_UTILITY_UTILITY_BLINK_PLATFORM_IMPL_H_
7
8 #include "content/child/blink_platform_impl.h"
9 #include "content/utility/webthread_impl_for_utility_thread.h"
10
11 namespace content {
12
13 class UtilityBlinkPlatformImpl : public BlinkPlatformImpl {
14 public:
15 UtilityBlinkPlatformImpl();
16 virtual ~UtilityBlinkPlatformImpl();
Sami 2015/05/11 17:08:02 nit: ~UtilityBlinkPlatformImpl() override;
ssid 2015/05/11 17:21:00 Done.
17
18 blink::WebThread* currentThread() override;
19
20 private:
21 scoped_ptr<WebThreadImplForUtilityThread> main_thread_;
22
23 DISALLOW_COPY_AND_ASSIGN(UtilityBlinkPlatformImpl);
24 };
25
26 } // namespace content
27
28 #endif // CONTENT_UTILITY_UTILITY_BLINK_PLATFORM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698