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

Side by Side Diff: components/sync/core/processor_entity_tracker.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/core/processor_entity_tracker.h" 5 #include "components/sync/core/processor_entity_tracker.h"
6 6
7 #include <stdint.h>
8
9 #include "base/base64.h" 7 #include "base/base64.h"
10 #include "base/sha1.h" 8 #include "base/sha1.h"
11 #include "base/time/time.h"
12 #include "components/sync/base/time.h" 9 #include "components/sync/base/time.h"
13 #include "components/sync/core/non_blocking_sync_common.h" 10 #include "components/sync/core/non_blocking_sync_common.h"
14 #include "components/sync/syncable/syncable_util.h" 11 #include "components/sync/syncable/syncable_util.h"
15 12
16 namespace syncer_v2 { 13 namespace syncer_v2 {
17 14
18 namespace { 15 namespace {
19 16
20 void HashSpecifics(const sync_pb::EntitySpecifics& specifics, 17 void HashSpecifics(const sync_pb::EntitySpecifics& specifics,
21 std::string* hash) { 18 std::string* hash) {
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 void ProcessorEntityTracker::UpdateSpecificsHash( 243 void ProcessorEntityTracker::UpdateSpecificsHash(
247 const sync_pb::EntitySpecifics& specifics) { 244 const sync_pb::EntitySpecifics& specifics) {
248 if (specifics.ByteSize() > 0) { 245 if (specifics.ByteSize() > 0) {
249 HashSpecifics(specifics, metadata_.mutable_specifics_hash()); 246 HashSpecifics(specifics, metadata_.mutable_specifics_hash());
250 } else { 247 } else {
251 metadata_.clear_specifics_hash(); 248 metadata_.clear_specifics_hash();
252 } 249 }
253 } 250 }
254 251
255 } // namespace syncer_v2 252 } // namespace syncer_v2
OLDNEW
« no previous file with comments | « components/sync/core/internal_components_factory_impl.cc ('k') | components/sync/core/read_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698