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

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

Issue 1830983002: Implement InstanceIDAndroid using InstanceIDWithSubtype.java (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iid1subtype
Patch Set: Make mNativeInstanceIDAndroid non-final Created 4 years, 8 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.cc
diff --git a/components/gcm_driver/instance_id/instance_id.cc b/components/gcm_driver/instance_id/instance_id.cc
index d89c997efe3d91cd39b861df3ce75a2eda2cacaa..d48b5cafe34ccc49a9a48d04189cea834ccd4d55 100644
--- a/components/gcm_driver/instance_id/instance_id.cc
+++ b/components/gcm_driver/instance_id/instance_id.cc
@@ -6,14 +6,9 @@
namespace instance_id {
-InstanceID::InstanceID(const std::string& app_id,
- gcm::InstanceIDHandler* handler)
- : handler_(handler), app_id_(app_id) {
- DCHECK(handler_);
-}
+InstanceID::InstanceID(const std::string& app_id) : app_id_(app_id) {}
-InstanceID::~InstanceID() {
-}
+InstanceID::~InstanceID() {}
void InstanceID::SetTokenRefreshCallback(const TokenRefreshCallback& callback) {
token_refresh_callback_ = callback;
« no previous file with comments | « components/gcm_driver/instance_id/instance_id.h ('k') | components/gcm_driver/instance_id/instance_id_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698