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

Unified Diff: google_apis/gcm/engine/checkin_request.h

Issue 171513004: [GCM] Adding a list of accounts present on the client to checkin request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding documentation of the parameter of GCMClient.Initialize(...account_ids...) Created 6 years, 10 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
« no previous file with comments | « chrome/browser/services/gcm/gcm_profile_service.cc ('k') | google_apis/gcm/engine/checkin_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/engine/checkin_request.h
diff --git a/google_apis/gcm/engine/checkin_request.h b/google_apis/gcm/engine/checkin_request.h
index ede7ffde417285a4458a49a83bd46d81e2e955c4..f3a8cc1f3ac089d35226741939ba1d80269fecf4 100644
--- a/google_apis/gcm/engine/checkin_request.h
+++ b/google_apis/gcm/engine/checkin_request.h
@@ -5,6 +5,9 @@
#ifndef GOOGLE_APIS_GCM_ENGINE_CHECKIN_REQUEST_H_
#define GOOGLE_APIS_GCM_ENGINE_CHECKIN_REQUEST_H_
+#include <string>
+#include <vector>
+
#include "base/basictypes.h"
#include "base/callback.h"
#include "base/memory/weak_ptr.h"
@@ -35,6 +38,7 @@ class GCM_EXPORT CheckinRequest : public net::URLFetcherDelegate {
const checkin_proto::ChromeBuildProto& chrome_build_proto,
uint64 android_id,
uint64 security_token,
+ const std::vector<std::string>& account_ids,
net::URLRequestContextGetter* request_context_getter);
virtual ~CheckinRequest();
@@ -56,6 +60,7 @@ class GCM_EXPORT CheckinRequest : public net::URLFetcherDelegate {
checkin_proto::ChromeBuildProto chrome_build_proto_;
uint64 android_id_;
uint64 security_token_;
+ std::vector<std::string> account_ids_;
Nicolas Zea 2014/02/19 22:23:36 nit: make const (this applies to all of these vari
fgorski 2014/02/19 23:08:49 Done.
base::WeakPtrFactory<CheckinRequest> weak_ptr_factory_;
« no previous file with comments | « chrome/browser/services/gcm/gcm_profile_service.cc ('k') | google_apis/gcm/engine/checkin_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698