| Index: chrome/browser/push_messaging/push_messaging_app_identifier.h
|
| diff --git a/chrome/browser/push_messaging/push_messaging_app_identifier.h b/chrome/browser/push_messaging/push_messaging_app_identifier.h
|
| index 5e8e1a707d636cb090ca659ccbd660367311db0a..6b2d9c17e82e540ee6742fd53111c83ebfc12b82 100644
|
| --- a/chrome/browser/push_messaging/push_messaging_app_identifier.h
|
| +++ b/chrome/browser/push_messaging/push_messaging_app_identifier.h
|
| @@ -34,6 +34,10 @@ class PushMessagingAppIdentifier {
|
| // Register profile-specific prefs.
|
| static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
|
|
|
| + // Returns whether the modern InstanceID API should be used with this app_id
|
| + // (rather than legacy GCM registration).
|
| + static bool UseInstanceID(const std::string& app_id);
|
| +
|
| // Generates a new app identifier, with partially random app_id.
|
| static PushMessagingAppIdentifier Generate(
|
| const GURL& origin,
|
|
|