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

Unified Diff: content/browser/in_process_webkit/webkit_thread.h

Issue 7888023: Initialize webkit thread asynchronously Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 1 month 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 | « no previous file | content/browser/in_process_webkit/webkit_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/in_process_webkit/webkit_thread.h
diff --git a/content/browser/in_process_webkit/webkit_thread.h b/content/browser/in_process_webkit/webkit_thread.h
index 5c62e2ef16946c1ce2e1999450857e8ec044ef30..fa1a95d9198fe09ab13ef16829f49fc6b6744049 100644
--- a/content/browser/in_process_webkit/webkit_thread.h
+++ b/content/browser/in_process_webkit/webkit_thread.h
@@ -13,6 +13,7 @@
#include "content/common/content_export.h"
class BrowserWebKitPlatformSupportImpl;
+class InternalWebKitThread;
// This creates a WebKit main thread on instantiation (if not in
// --single-process mode) on construction and kills it on deletion.
@@ -24,21 +25,6 @@ class CONTENT_EXPORT WebKitThread {
void Initialize();
private:
- // Must be private so that we can carefully control its lifetime.
- class InternalWebKitThread : public content::BrowserThreadImpl {
- public:
- InternalWebKitThread();
- virtual ~InternalWebKitThread();
- // Does the actual initialization and shutdown of WebKit. Called at the
- // beginning and end of the thread's lifetime.
- virtual void Init();
- virtual void CleanUp();
-
- private:
- // The WebKitPlatformSupport implementation. Only access on WebKit thread.
- scoped_ptr<BrowserWebKitPlatformSupportImpl> webkit_platform_support_;
- };
-
// Pointer to the actual WebKitThread.
scoped_ptr<InternalWebKitThread> webkit_thread_;
« no previous file with comments | « no previous file | content/browser/in_process_webkit/webkit_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698