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

Unified Diff: components/proximity_auth/webui/proximity_auth_ui_delegate.h

Issue 1248533003: Hook up CryptAuthGCMManager to the enrollment and device sync managers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix webui Created 5 years, 5 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: components/proximity_auth/webui/proximity_auth_ui_delegate.h
diff --git a/components/proximity_auth/webui/proximity_auth_ui_delegate.h b/components/proximity_auth/webui/proximity_auth_ui_delegate.h
index 6de61e790f5c48041d7dc8e3261c4b5057d6c6b9..bbb3787d2444968d8aba0d1d2f7256b808cae2c3 100644
--- a/components/proximity_auth/webui/proximity_auth_ui_delegate.h
+++ b/components/proximity_auth/webui/proximity_auth_ui_delegate.h
@@ -10,6 +10,10 @@
class PrefService;
+namespace gcm {
+class GCMDriver;
+}
+
namespace proximity_auth {
class CryptAuthClientFactory;
@@ -33,6 +37,9 @@ class ProximityAuthUIDelegate {
// Constructs the DeviceClassifier message that is sent to CryptAuth for all
// API requests.
virtual cryptauth::DeviceClassifier GetDeviceClassifier() = 0;
+
+ // Returns the GCMDriver instance used by Chrome.
+ virtual gcm::GCMDriver* GetGCMDriver() = 0;
};
} // namespace proximity_auth

Powered by Google App Engine
This is Rietveld 408576698