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

Side by Side Diff: components/sync/model/entity_data.cc

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. 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
« no previous file with comments | « components/sync/model/entity_data.h ('k') | components/sync/model/entity_data_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "components/sync/api/entity_data.h" 5 #include "components/sync/model/entity_data.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
13 #include "components/sync/base/time.h" 13 #include "components/sync/base/time.h"
14 #include "components/sync/base/unique_position.h" 14 #include "components/sync/base/unique_position.h"
15 #include "components/sync/protocol/proto_value_conversions.h" 15 #include "components/sync/protocol/proto_value_conversions.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 bool EntityDataTraits::HasValue(const EntityData& value) { 73 bool EntityDataTraits::HasValue(const EntityData& value) {
74 return !value.client_tag_hash.empty(); 74 return !value.client_tag_hash.empty();
75 } 75 }
76 76
77 const EntityData& EntityDataTraits::DefaultValue() { 77 const EntityData& EntityDataTraits::DefaultValue() {
78 CR_DEFINE_STATIC_LOCAL(EntityData, default_instance, ()); 78 CR_DEFINE_STATIC_LOCAL(EntityData, default_instance, ());
79 return default_instance; 79 return default_instance;
80 } 80 }
81 81
82 } // namespace syncer 82 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/model/entity_data.h ('k') | components/sync/model/entity_data_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698