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

Side by Side Diff: components/gcm_driver/gcm_client.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 unified diff | Download patch
« no previous file with comments | « components/gcm_driver/fake_gcm_client.cc ('k') | components/gcm_driver/gcm_client_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_GCM_DRIVER_GCM_CLIENT_H_ 5 #ifndef COMPONENTS_GCM_DRIVER_GCM_CLIENT_H_
6 #define COMPONENTS_GCM_DRIVER_GCM_CLIENT_H_ 6 #define COMPONENTS_GCM_DRIVER_GCM_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 CHANNEL_UNKNOWN 91 CHANNEL_UNKNOWN
92 }; 92 };
93 93
94 struct ChromeBuildInfo { 94 struct ChromeBuildInfo {
95 ChromeBuildInfo(); 95 ChromeBuildInfo();
96 ~ChromeBuildInfo(); 96 ~ChromeBuildInfo();
97 97
98 ChromePlatform platform; 98 ChromePlatform platform;
99 ChromeChannel channel; 99 ChromeChannel channel;
100 std::string version; 100 std::string version;
101 std::string product_category_for_subtypes;
101 }; 102 };
102 103
103 // Detailed information of the Send Error event. 104 // Detailed information of the Send Error event.
104 struct SendErrorDetails { 105 struct SendErrorDetails {
105 SendErrorDetails(); 106 SendErrorDetails();
106 SendErrorDetails(const SendErrorDetails& other); 107 SendErrorDetails(const SendErrorDetails& other);
107 ~SendErrorDetails(); 108 ~SendErrorDetails();
108 109
109 std::string message_id; 110 std::string message_id;
110 MessageData additional_data; 111 MessageData additional_data;
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 // to be set, and allows that component to later revoke the setting. It should 324 // to be set, and allows that component to later revoke the setting. It should
324 // be unique. 325 // be unique.
325 virtual void AddHeartbeatInterval(const std::string& scope, 326 virtual void AddHeartbeatInterval(const std::string& scope,
326 int interval_ms) = 0; 327 int interval_ms) = 0;
327 virtual void RemoveHeartbeatInterval(const std::string& scope) = 0; 328 virtual void RemoveHeartbeatInterval(const std::string& scope) = 0;
328 }; 329 };
329 330
330 } // namespace gcm 331 } // namespace gcm
331 332
332 #endif // COMPONENTS_GCM_DRIVER_GCM_CLIENT_H_ 333 #endif // COMPONENTS_GCM_DRIVER_GCM_CLIENT_H_
OLDNEW
« no previous file with comments | « components/gcm_driver/fake_gcm_client.cc ('k') | components/gcm_driver/gcm_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698