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

Side by Side Diff: components/sync_driver/invalidation_adapter.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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 #include "components/sync_driver/invalidation_adapter.h" 5 #include "components/sync_driver/invalidation_adapter.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 namespace browser_sync { 9 namespace browser_sync {
10 10
11 InvalidationAdapter::InvalidationAdapter( 11 InvalidationAdapter::InvalidationAdapter(
12 const syncer::Invalidation& invalidation) 12 const syncer::Invalidation& invalidation)
13 : invalidation_(invalidation) { 13 : invalidation_(invalidation) {
14 } 14 }
15 15
16 InvalidationAdapter::~InvalidationAdapter() { 16 InvalidationAdapter::~InvalidationAdapter() {
17 } 17 }
18 18
19 bool InvalidationAdapter::IsUnknownVersion() const { 19 bool InvalidationAdapter::IsUnknownVersion() const {
20 return invalidation_.is_unknown_version(); 20 return invalidation_.is_unknown_version();
21 } 21 }
22 22
23 const std::string& InvalidationAdapter::GetPayload() const { 23 const std::string& InvalidationAdapter::GetPayload() const {
24 return invalidation_.payload(); 24 return invalidation_.payload();
25 } 25 }
26 26
27 int64 InvalidationAdapter::GetVersion() const { 27 int64_t InvalidationAdapter::GetVersion() const {
28 return invalidation_.version(); 28 return invalidation_.version();
29 } 29 }
30 30
31 void InvalidationAdapter::Acknowledge() { 31 void InvalidationAdapter::Acknowledge() {
32 invalidation_.Acknowledge(); 32 invalidation_.Acknowledge();
33 } 33 }
34 34
35 void InvalidationAdapter::Drop() { 35 void InvalidationAdapter::Drop() {
36 invalidation_.Drop(); 36 invalidation_.Drop();
37 } 37 }
38 38
39 } // namespace browser_sync 39 } // namespace browser_sync
OLDNEW
« no previous file with comments | « components/sync_driver/invalidation_adapter.h ('k') | components/sync_driver/local_device_info_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698