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

Side by Side Diff: components/sync/core/read_node.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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/read_node.h" 5 #include "components/sync/core/read_node.h"
6 6
7 #include <stdint.h>
8
9 #include "base/logging.h" 7 #include "base/logging.h"
10 #include "components/sync/core/base_transaction.h" 8 #include "components/sync/core/base_transaction.h"
11 #include "components/sync/syncable/entry.h" 9 #include "components/sync/syncable/entry.h"
12 #include "components/sync/syncable/syncable_base_transaction.h" 10 #include "components/sync/syncable/syncable_base_transaction.h"
13 #include "components/sync/syncable/syncable_util.h" 11 #include "components/sync/syncable/syncable_util.h"
14 12
15 namespace syncer { 13 namespace syncer {
16 14
17 ////////////////////////////////////////////////////////////////////////// 15 //////////////////////////////////////////////////////////////////////////
18 // ReadNode member definitions 16 // ReadNode member definitions
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 if (entry_->GetIsDel()) 109 if (entry_->GetIsDel())
112 return INIT_FAILED_ENTRY_IS_DEL; 110 return INIT_FAILED_ENTRY_IS_DEL;
113 ModelType found_model_type = GetModelType(); 111 ModelType found_model_type = GetModelType();
114 LOG_IF(WARNING, found_model_type == UNSPECIFIED || 112 LOG_IF(WARNING, found_model_type == UNSPECIFIED ||
115 found_model_type == TOP_LEVEL_FOLDER) 113 found_model_type == TOP_LEVEL_FOLDER)
116 << "SyncAPI InitTypeRoot referencing unusually typed object."; 114 << "SyncAPI InitTypeRoot referencing unusually typed object.";
117 return DecryptIfNecessary() ? INIT_OK : INIT_FAILED_DECRYPT_IF_NECESSARY; 115 return DecryptIfNecessary() ? INIT_OK : INIT_FAILED_DECRYPT_IF_NECESSARY;
118 } 116 }
119 117
120 } // namespace syncer 118 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/core/processor_entity_tracker.cc ('k') | components/sync/core/read_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698