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

Unified 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: Fixing style. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/utility/DEPS ('k') | content/utility/utility_blink_platform_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/utility/utility_blink_platform_impl.h
diff --git a/content/utility/utility_blink_platform_impl.h b/content/utility/utility_blink_platform_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..2d2b824214fadfcda81f1090d8f6524c5c10f8cf
--- /dev/null
+++ b/content/utility/utility_blink_platform_impl.h
@@ -0,0 +1,30 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_UTILITY_UTILITY_BLINK_PLATFORM_IMPL_H_
+#define CONTENT_UTILITY_UTILITY_BLINK_PLATFORM_IMPL_H_
+
+#include "content/child/blink_platform_impl.h"
+
+namespace content {
+
+class WebThreadImplForUtilityThread;
+
+class UtilityBlinkPlatformImpl : public BlinkPlatformImpl {
+ public:
+ UtilityBlinkPlatformImpl();
+ ~UtilityBlinkPlatformImpl() override;
+
+ // BlinkPlatformImpl implementation.
+ blink::WebThread* currentThread() override;
+
+ private:
+ scoped_ptr<WebThreadImplForUtilityThread> main_thread_;
+
+ DISALLOW_COPY_AND_ASSIGN(UtilityBlinkPlatformImpl);
+};
+
+} // namespace content
+
+#endif // CONTENT_UTILITY_UTILITY_BLINK_PLATFORM_IMPL_H_
« no previous file with comments | « content/utility/DEPS ('k') | content/utility/utility_blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698