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

Unified Diff: content/browser/browser_main_loop.h

Issue 17518004: Move IndexedDB from WEBKIT_DEPRECATED to dedicated thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/browser_main_loop.h
diff --git a/content/browser/browser_main_loop.h b/content/browser/browser_main_loop.h
index 0317e030bf7e50e47f4415d5ef85cae818556d48..6b6242df924b158da044d08501fd11cd6f2f1a24 100644
--- a/content/browser/browser_main_loop.h
+++ b/content/browser/browser_main_loop.h
@@ -47,7 +47,7 @@ class DeviceMonitorMac;
// Implements the main browser loop stages called from BrowserMainRunner.
// See comments in browser_main_parts.h for additional info.
-class BrowserMainLoop {
+class CONTENT_EXPORT BrowserMainLoop {
public:
// Returns the current instance. This is used to get access to the getters
// that return objects which are owned by this class.
@@ -81,6 +81,7 @@ class BrowserMainLoop {
MediaStreamManager* media_stream_manager() const {
return media_stream_manager_.get();
}
+ base::Thread* indexed_db_thread() const { return indexed_db_thread_.get(); }
private:
class MemoryObserver;
@@ -134,6 +135,7 @@ class BrowserMainLoop {
scoped_ptr<BrowserProcessSubThread> db_thread_;
#if !defined(OS_IOS)
scoped_ptr<WebKitThread> webkit_thread_;
+ scoped_ptr<base::Thread> indexed_db_thread_;
#endif
scoped_ptr<BrowserProcessSubThread> file_user_blocking_thread_;
scoped_ptr<BrowserProcessSubThread> file_thread_;

Powered by Google App Engine
This is Rietveld 408576698