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

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: IOS build fix 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
« no previous file with comments | « content/browser/browser_context.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.h
diff --git a/content/browser/browser_main_loop.h b/content/browser/browser_main_loop.h
index fc412ccc48d1cb1eda1230998224098513d78747..80a39830429b17f90a7cefd4c40829091bb25c7d 100644
--- a/content/browser/browser_main_loop.h
+++ b/content/browser/browser_main_loop.h
@@ -48,7 +48,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.
@@ -83,6 +83,7 @@ class BrowserMainLoop {
return media_stream_manager_.get();
}
media::MIDIManager* midi_manager() const { return midi_manager_.get(); }
+ base::Thread* indexed_db_thread() const { return indexed_db_thread_.get(); }
private:
class MemoryObserver;
@@ -143,6 +144,7 @@ class BrowserMainLoop {
scoped_ptr<BrowserProcessSubThread> process_launcher_thread_;
scoped_ptr<BrowserProcessSubThread> cache_thread_;
scoped_ptr<BrowserProcessSubThread> io_thread_;
+ scoped_ptr<base::Thread> indexed_db_thread_;
scoped_ptr<MemoryObserver> memory_observer_;
DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop);
« no previous file with comments | « content/browser/browser_context.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698