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

Unified Diff: components/gcm_driver/gcm_driver.h

Issue 1785613006: Make GCMDriver::GetInstanceIDHandler protected, to avoid misuse (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify by removing provider Created 4 years, 9 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/gcm_driver/gcm_driver.h
diff --git a/components/gcm_driver/gcm_driver.h b/components/gcm_driver/gcm_driver.h
index c33890a3636664662d9f28d563aa4b26febb2161..1fefed9a2e4dd87543f0f7ce699982337d3ec00f 100644
--- a/components/gcm_driver/gcm_driver.h
+++ b/components/gcm_driver/gcm_driver.h
@@ -212,8 +212,8 @@ class GCMDriver {
// to send a heartbeat message.
virtual void WakeFromSuspendForHeartbeat(bool wake) = 0;
- // Supports InstanceID handling.
- virtual InstanceIDHandler* GetInstanceIDHandler() = 0;
+ // Supports InstanceID handling. Must only be used by instance_id::InstanceID.
Peter Beverloo 2016/03/10 21:11:23 // Supports InstanceID handling. Must only be used
johnme 2016/03/11 15:56:04 Done.
+ virtual InstanceIDHandler* GetInstanceIDHandlerInternal() = 0;
// Adds or removes a custom client requested heartbeat interval. If multiple
// components set that setting, the lowest setting will be used. If the

Powered by Google App Engine
This is Rietveld 408576698