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

Side by Side Diff: google_apis/gcm/engine/registration_request.h

Issue 179043005: [GCM] Remove the requirement for manifest key (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove cert Created 6 years, 9 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 | Annotate | Revision Log
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 GOOGLE_APIS_GCM_ENGINE_REGISTRATION_REQUEST_H_ 5 #ifndef GOOGLE_APIS_GCM_ENGINE_REGISTRATION_REQUEST_H_
6 #define GOOGLE_APIS_GCM_ENGINE_REGISTRATION_REQUEST_H_ 6 #define GOOGLE_APIS_GCM_ENGINE_REGISTRATION_REQUEST_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 const std::string& registration_id)> 55 const std::string& registration_id)>
56 RegistrationCallback; 56 RegistrationCallback;
57 57
58 // Details of the of the Registration Request. Only user's android ID and 58 // Details of the of the Registration Request. Only user's android ID and
59 // its serial number are optional and can be set to 0. All other parameters 59 // its serial number are optional and can be set to 0. All other parameters
60 // have to be specified to successfully complete the call. 60 // have to be specified to successfully complete the call.
61 struct GCM_EXPORT RequestInfo { 61 struct GCM_EXPORT RequestInfo {
62 RequestInfo(uint64 android_id, 62 RequestInfo(uint64 android_id,
63 uint64 security_token, 63 uint64 security_token,
64 const std::string& app_id, 64 const std::string& app_id,
65 const std::string& cert,
66 const std::vector<std::string>& sender_ids); 65 const std::vector<std::string>& sender_ids);
67 ~RequestInfo(); 66 ~RequestInfo();
68 67
69 // Android ID of the device. 68 // Android ID of the device.
70 uint64 android_id; 69 uint64 android_id;
71 // Security token of the device. 70 // Security token of the device.
72 uint64 security_token; 71 uint64 security_token;
73 // Application ID. 72 // Application ID.
74 std::string app_id; 73 std::string app_id;
75 // Certificate of the application. 74 // Certificate of the application.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 int retries_left_; 108 int retries_left_;
110 109
111 base::WeakPtrFactory<RegistrationRequest> weak_ptr_factory_; 110 base::WeakPtrFactory<RegistrationRequest> weak_ptr_factory_;
112 111
113 DISALLOW_COPY_AND_ASSIGN(RegistrationRequest); 112 DISALLOW_COPY_AND_ASSIGN(RegistrationRequest);
114 }; 113 };
115 114
116 } // namespace gcm 115 } // namespace gcm
117 116
118 #endif // GOOGLE_APIS_GCM_ENGINE_REGISTRATION_REQUEST_H_ 117 #endif // GOOGLE_APIS_GCM_ENGINE_REGISTRATION_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698