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

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

Issue 2111973002: Add support for GCM subtypes to desktop Instance ID implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iid9push
Patch Set: Remove channel from product_category_for_subtypes, and address nits Created 4 years, 4 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.h
diff --git a/components/gcm_driver/instance_id/instance_id.h b/components/gcm_driver/instance_id/instance_id.h
index 85536a414008b8d61d94d70d2c5f27a2ec3c14e2..52c1adb07b26dd50ecb91559e229024b5912bc5d 100644
--- a/components/gcm_driver/instance_id/instance_id.h
+++ b/components/gcm_driver/instance_id/instance_id.h
@@ -60,12 +60,12 @@ class InstanceID {
static const int kInstanceIDByteLength = 8;
- // Creator.
+ // Creator. Should only be used by InstanceIDDriver::GetInstanceID.
// |app_id|: identifies the application that uses the Instance ID.
// |handler|: provides the GCM functionality needed to support Instance ID.
// Must outlive this class. On Android, this can be null instead.
- static std::unique_ptr<InstanceID> Create(const std::string& app_id,
- gcm::GCMDriver* gcm_driver);
+ static std::unique_ptr<InstanceID> CreateInternal(const std::string& app_id,
+ gcm::GCMDriver* gcm_driver);
virtual ~InstanceID();

Powered by Google App Engine
This is Rietveld 408576698