| Index: content/browser/browser_main_loop.h
|
| diff --git a/content/browser/browser_main_loop.h b/content/browser/browser_main_loop.h
|
| index eb3de50d1b066c22d45939e67dd6a2a03df315f3..1fe269f4483808b9f966416ba96e2039ee0c7547 100644
|
| --- a/content/browser/browser_main_loop.h
|
| +++ b/content/browser/browser_main_loop.h
|
| @@ -84,6 +84,9 @@ class BrowserMainLoop {
|
| static media::AudioManager* GetAudioManager();
|
| static media_stream::MediaStreamManager* GetMediaStreamManager();
|
|
|
| + // Should be called before RunMainMessageLoopParts (on the thread that calls
|
| + // that method).
|
| + static void UseFakeMediaStreamDevice();
|
| private:
|
| // For ShutdownThreadsAndCleanUp.
|
| friend class BrowserShutdownImpl;
|
| @@ -138,6 +141,9 @@ class BrowserMainLoop {
|
| scoped_ptr<BrowserProcessSubThread> cache_thread_;
|
| scoped_ptr<BrowserProcessSubThread> io_thread_;
|
|
|
| + // Static members.
|
| + static bool use_fake_media_stream_device_;
|
| +
|
| #if defined(OS_WIN)
|
| ui::ScopedOleInitializer ole_initializer_;
|
| #endif
|
|
|