| Index: google_apis/gcm/engine/registration_request.h
|
| diff --git a/google_apis/gcm/engine/registration_request.h b/google_apis/gcm/engine/registration_request.h
|
| index cb45c974a6664372c4bfe581ba8ed1b7dc67212e..92085589126c064cae6698780a0fe37c7b5e7a4e 100644
|
| --- a/google_apis/gcm/engine/registration_request.h
|
| +++ b/google_apis/gcm/engine/registration_request.h
|
| @@ -67,15 +67,22 @@ class GCM_EXPORT RegistrationRequest : public net::URLFetcherDelegate {
|
| struct GCM_EXPORT RequestInfo {
|
| RequestInfo(uint64_t android_id,
|
| uint64_t security_token,
|
| - const std::string& app_id);
|
| + const std::string& app_id,
|
| + bool use_subtype,
|
| + const std::string& category_for_subtypes);
|
| ~RequestInfo();
|
|
|
| // Android ID of the device.
|
| uint64_t android_id;
|
| // Security token of the device.
|
| uint64_t security_token;
|
| +
|
| // Application ID.
|
| std::string app_id;
|
| + // Whether to send |app_id| to GCM as a "subtype" instead of a "category".
|
| + bool use_subtype;
|
| + // Category to send if |use_subtype|.
|
| + std::string category_for_subtypes;
|
| };
|
|
|
| // Encapsulates the custom logic that is needed to build and process the
|
|
|