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

Side by Side Diff: chrome/browser/sync/internal_api/read_node.cc

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "chrome/browser/sync/internal_api/read_node.h" 5 #include "chrome/browser/sync/internal_api/read_node.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/sync/internal_api/base_transaction.h" 8 #include "chrome/browser/sync/internal_api/base_transaction.h"
9 #include "chrome/browser/sync/syncable/syncable.h" 9 #include "sync/syncable/syncable.h"
10 10
11 namespace sync_api { 11 namespace sync_api {
12 12
13 ////////////////////////////////////////////////////////////////////////// 13 //////////////////////////////////////////////////////////////////////////
14 // ReadNode member definitions 14 // ReadNode member definitions
15 ReadNode::ReadNode(const BaseTransaction* transaction) 15 ReadNode::ReadNode(const BaseTransaction* transaction)
16 : entry_(NULL), transaction_(transaction) { 16 : entry_(NULL), transaction_(transaction) {
17 DCHECK(transaction); 17 DCHECK(transaction);
18 } 18 }
19 19
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 if (entry_->Get(syncable::IS_DEL)) 83 if (entry_->Get(syncable::IS_DEL))
84 return false; 84 return false;
85 syncable::ModelType model_type = GetModelType(); 85 syncable::ModelType model_type = GetModelType();
86 LOG_IF(WARNING, model_type == syncable::UNSPECIFIED || 86 LOG_IF(WARNING, model_type == syncable::UNSPECIFIED ||
87 model_type == syncable::TOP_LEVEL_FOLDER) 87 model_type == syncable::TOP_LEVEL_FOLDER)
88 << "SyncAPI InitByTagLookup referencing unusually typed object."; 88 << "SyncAPI InitByTagLookup referencing unusually typed object.";
89 return DecryptIfNecessary(); 89 return DecryptIfNecessary();
90 } 90 }
91 91
92 } // namespace sync_api 92 } // namespace sync_api
OLDNEW
« no previous file with comments | « chrome/browser/sync/internal_api/read_node.h ('k') | chrome/browser/sync/internal_api/read_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698