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

Side by Side Diff: components/sync/test/engine/single_type_mock_server.cc

Issue 2387553002: [Sync] Removing duplicated includes between cc and h files. (Closed)
Patch Set: Fixing DataTypeStatusTable Created 4 years, 2 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/test/engine/single_type_mock_server.h" 5 #include "components/sync/test/engine/single_type_mock_server.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
10 #include "components/sync/base/time.h" 7 #include "components/sync/base/time.h"
11 8
12 using google::protobuf::RepeatedPtrField; 9 using google::protobuf::RepeatedPtrField;
13 10
14 namespace syncer { 11 namespace syncer {
15 12
16 SingleTypeMockServer::SingleTypeMockServer(syncer::ModelType type) 13 SingleTypeMockServer::SingleTypeMockServer(syncer::ModelType type)
17 : type_(type), type_root_id_(ModelTypeToRootTag(type)) {} 14 : type_(type), type_root_id_(ModelTypeToRootTag(type)) {}
18 15
19 SingleTypeMockServer::~SingleTypeMockServer() {} 16 SingleTypeMockServer::~SingleTypeMockServer() {}
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 return it->second; 167 return it->second;
171 } 168 }
172 } 169 }
173 170
174 void SingleTypeMockServer::SetServerVersion(const std::string& tag_hash, 171 void SingleTypeMockServer::SetServerVersion(const std::string& tag_hash,
175 int64_t version) { 172 int64_t version) {
176 server_versions_[tag_hash] = version; 173 server_versions_[tag_hash] = version;
177 } 174 }
178 175
179 } // namespace syncer 176 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/test/engine/mock_update_handler.cc ('k') | components/sync/test/engine/test_directory_setter_upper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698