OLD | NEW |
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/mock_model_type_worker.h" | 5 #include "components/sync/test/engine/mock_model_type_worker.h" |
6 | 6 |
7 #include <stddef.h> | |
8 #include <stdint.h> | |
9 | |
10 #include "base/logging.h" | 7 #include "base/logging.h" |
11 #include "components/sync/base/model_type.h" | 8 #include "components/sync/base/model_type.h" |
12 #include "components/sync/syncable/syncable_util.h" | 9 #include "components/sync/syncable/syncable_util.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
14 | 11 |
15 namespace syncer_v2 { | 12 namespace syncer_v2 { |
16 | 13 |
17 namespace { | 14 namespace { |
18 | 15 |
19 } // namespace | 16 } // namespace |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 return it->second; | 235 return it->second; |
239 } | 236 } |
240 } | 237 } |
241 | 238 |
242 void MockModelTypeWorker::SetServerVersion(const std::string& tag_hash, | 239 void MockModelTypeWorker::SetServerVersion(const std::string& tag_hash, |
243 int64_t version) { | 240 int64_t version) { |
244 server_versions_[tag_hash] = version; | 241 server_versions_[tag_hash] = version; |
245 } | 242 } |
246 | 243 |
247 } // namespace syncer_v2 | 244 } // namespace syncer_v2 |
OLD | NEW |