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

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

Issue 1113213002: Generate Instance ID locally. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address more feedback Created 5 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.h
diff --git a/components/gcm_driver/instance_id/instance_id.h b/components/gcm_driver/instance_id/instance_id.h
index bb0ca9966f4076cd56e18ae688f98d9c30ba358d..99b2be585a3d123a02f208a8ec8cdbab792392e8 100644
--- a/components/gcm_driver/instance_id/instance_id.h
+++ b/components/gcm_driver/instance_id/instance_id.h
@@ -45,6 +45,8 @@ class InstanceID {
typedef base::Callback<void(InstanceID* instance_id,
Result result)> DeleteIDCallback;
+ static const int kInstanceIDByteLength = 8;
+
// Creator.
// |app_id|: identifies the application that uses the Instance ID.
// |callback|: to be called when the token refresh is needed.
« no previous file with comments | « components/gcm_driver/instance_id/DEPS ('k') | components/gcm_driver/instance_id/instance_id_driver_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698