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

Unified Diff: components/gcm_driver/instance_id/instance_id_android.cc

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/instance_id/instance_id_android.cc
diff --git a/components/gcm_driver/instance_id/instance_id_android.cc b/components/gcm_driver/instance_id/instance_id_android.cc
index 86542ca8ba23f34b971cc4f9109b5cbac6d71238..60d6785758e6d324e33607a88bda300dc41c0a64 100644
--- a/components/gcm_driver/instance_id/instance_id_android.cc
+++ b/components/gcm_driver/instance_id/instance_id_android.cc
@@ -15,9 +15,9 @@ scoped_ptr<InstanceID> InstanceID::Create(const std::string& app_id,
return make_scoped_ptr(new InstanceIDAndroid(app_id));
}
-InstanceIDAndroid::InstanceIDAndroid(const std::string& app_id)
- : InstanceID(app_id) {
-}
+InstanceIDAndroid::InstanceIDAndroid(const std::string& app_id,
+ gcm::GCMDriver* gcm_driver)
+ : InstanceID(app_id, gcm_driver) {}
InstanceIDAndroid::~InstanceIDAndroid() {
}

Powered by Google App Engine
This is Rietveld 408576698