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

Unified Diff: chrome/test/base/testing_browser_process.h

Issue 301973009: Add browser-global GCMDriver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Addressed comments. Created 6 years, 7 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: 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 3ecdf479a1b54e2e963391335aa05c3e6d1e64f1..a9696b50cb00f3b7be162c0274eb6556039e4ff3 100644
--- a/chrome/test/base/testing_browser_process.h
+++ b/chrome/test/base/testing_browser_process.h
@@ -34,6 +34,10 @@ namespace extensions {
class ExtensionsBrowserClient;
}
+namespace gcm {
+class GCMDriver;
+}
+
namespace policy {
class BrowserPolicyConnector;
class PolicyService;
@@ -120,6 +124,8 @@ class TestingBrowserProcess : public BrowserProcess {
virtual NetworkTimeTracker* network_time_tracker() OVERRIDE;
+ virtual gcm::GCMDriver* gcm_driver() OVERRIDE;
+
// Set the local state for tests. Consumer is responsible for cleaning it up
// afterwards (using ScopedTestingLocalState, for example).
void SetLocalState(PrefService* local_state);

Powered by Google App Engine
This is Rietveld 408576698