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

Side by Side Diff: google_apis/gcm/engine/account_mapping.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 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_ACCOUNT_MAPPING_H_ 5 #ifndef GOOGLE_APIS_GCM_ENGINE_ACCOUNT_MAPPING_H_
6 #define GOOGLE_APIS_GCM_ENGINE_ACCOUNT_MAPPING_H_ 6 #define GOOGLE_APIS_GCM_ENGINE_ACCOUNT_MAPPING_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h"
11 #include "base/time/time.h" 10 #include "base/time/time.h"
12 #include "google_apis/gcm/base/gcm_export.h" 11 #include "google_apis/gcm/base/gcm_export.h"
13 12
14 namespace gcm { 13 namespace gcm {
15 14
16 // Stores information about Account mapping and a last message sent regarding 15 // Stores information about Account mapping and a last message sent regarding
17 // that mapping. 16 // that mapping.
18 struct GCM_EXPORT AccountMapping { 17 struct GCM_EXPORT AccountMapping {
19 // Status of the account mapping. 18 // Status of the account mapping.
20 enum MappingStatus { 19 enum MappingStatus {
(...skipping 26 matching lines...) Expand all
47 MappingStatus status; 46 MappingStatus status;
48 // Time of the mapping status change. 47 // Time of the mapping status change.
49 base::Time status_change_timestamp; 48 base::Time status_change_timestamp;
50 // ID of the last mapping message sent to GCM. 49 // ID of the last mapping message sent to GCM.
51 std::string last_message_id; 50 std::string last_message_id;
52 }; 51 };
53 52
54 } // namespace gcm 53 } // namespace gcm
55 54
56 #endif // GOOGLE_APIS_GCM_ENGINE_ACCOUNT_MAPPING_H_ 55 #endif // GOOGLE_APIS_GCM_ENGINE_ACCOUNT_MAPPING_H_
OLDNEW
« no previous file with comments | « google_apis/gcm/base/socket_stream_unittest.cc ('k') | google_apis/gcm/engine/account_mapping.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698