| Index: content/browser/browser_main_loop.cc
|
| diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
|
| index 742d675d03cdf399dce5234679845faf2a7a1243..74cd9791505fda668883256a7b00cc4982f61619 100644
|
| --- a/content/browser/browser_main_loop.cc
|
| +++ b/content/browser/browser_main_loop.cc
|
| @@ -27,6 +27,7 @@
|
| #include "content/browser/gpu/gpu_process_host_ui_shim.h"
|
| #include "content/browser/histogram_synchronizer.h"
|
| #include "content/browser/in_process_webkit/webkit_thread.h"
|
| +#include "content/browser/indexed_db/indexed_db_thread.h"
|
| #include "content/browser/loader/resource_dispatcher_host_impl.h"
|
| #include "content/browser/net/browser_online_state_observer.h"
|
| #include "content/browser/plugin_service_impl.h"
|
| @@ -287,6 +288,12 @@ AudioMirroringManager* BrowserMainLoop::GetAudioMirroringManager() {
|
| }
|
|
|
| // static
|
| +IndexedDBThread* BrowserMainLoop::GetIndexedDBThread() {
|
| + return g_current_browser_main_loop ?
|
| + g_current_browser_main_loop->indexed_db_thread_.get() : NULL;
|
| +}
|
| +
|
| +// static
|
| MediaStreamManager* BrowserMainLoop::GetMediaStreamManager() {
|
| return g_current_browser_main_loop->media_stream_manager_.get();
|
| }
|
| @@ -598,6 +605,10 @@ void BrowserMainLoop::CreateThreads() {
|
|
|
| }
|
|
|
| +#if !defined(OS_IOS)
|
| + indexed_db_thread_.reset(new IndexedDBThread());
|
| +#endif
|
| +
|
| BrowserThreadsStarted();
|
|
|
| if (parts_) {
|
|
|