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

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

Issue 1548673002: Switch to standard integer types in google_apis/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_INSTANCE_ID_GET_TOKEN_REQUEST_HANDLER_H_ 5 #ifndef GOOGLE_APIS_GCM_ENGINE_INSTANCE_ID_GET_TOKEN_REQUEST_HANDLER_H_
6 #define GOOGLE_APIS_GCM_ENGINE_INSTANCE_ID_GET_TOKEN_REQUEST_HANDLER_H_ 6 #define GOOGLE_APIS_GCM_ENGINE_INSTANCE_ID_GET_TOKEN_REQUEST_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h"
11 #include "google_apis/gcm/engine/registration_request.h" 12 #include "google_apis/gcm/engine/registration_request.h"
12 13
13 namespace gcm { 14 namespace gcm {
14 15
15 // Used to obtain a token based on Instance ID. 16 // Used to obtain a token based on Instance ID.
16 class GCM_EXPORT InstanceIDGetTokenRequestHandler : 17 class GCM_EXPORT InstanceIDGetTokenRequestHandler :
17 public RegistrationRequest::CustomRequestHandler { 18 public RegistrationRequest::CustomRequestHandler {
18 public: 19 public:
19 InstanceIDGetTokenRequestHandler( 20 InstanceIDGetTokenRequestHandler(
20 const std::string& instance_id, 21 const std::string& instance_id,
(...skipping 15 matching lines...) Expand all
36 std::string scope_; 37 std::string scope_;
37 int gcm_version_; 38 int gcm_version_;
38 std::map<std::string, std::string> options_; 39 std::map<std::string, std::string> options_;
39 40
40 DISALLOW_COPY_AND_ASSIGN(InstanceIDGetTokenRequestHandler); 41 DISALLOW_COPY_AND_ASSIGN(InstanceIDGetTokenRequestHandler);
41 }; 42 };
42 43
43 } // namespace gcm 44 } // namespace gcm
44 45
45 #endif // GOOGLE_APIS_GCM_ENGINE_INSTANCE_ID_GET_TOKEN_REQUEST_HANDLER_H_ 46 #endif // GOOGLE_APIS_GCM_ENGINE_INSTANCE_ID_GET_TOKEN_REQUEST_HANDLER_H_
OLDNEW
« no previous file with comments | « google_apis/gcm/engine/instance_id_delete_token_request_handler.cc ('k') | google_apis/gcm/engine/mcs_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698