Index: chrome/test/base/testing_browser_process.h |
diff --git a/chrome/test/base/testing_browser_process.h b/chrome/test/base/testing_browser_process.h |
index 27c3601bd8332bd0e3986fd05fd00757c175adcd..40409d35e6ab882700a2411f664e80bb81b9f1cf 100644 |
--- a/chrome/test/base/testing_browser_process.h |
+++ b/chrome/test/base/testing_browser_process.h |
@@ -43,6 +43,9 @@ class TestingBrowserProcess : public BrowserProcess { |
TestingBrowserProcess(); |
virtual ~TestingBrowserProcess(); |
+ // Convenience method to get g_browser_process as a TestingBrowserProcess*. |
+ static TestingBrowserProcess* GetGlobal(); |
+ |
virtual void ResourceDispatcherHostCreated() OVERRIDE; |
virtual void EndSession() OVERRIDE; |
virtual MetricsService* metrics_service() OVERRIDE; |