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(); |