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

Side by Side Diff: sync/internal_api/test/test_entry_factory.cc

Issue 11638018: [sync] Componentize sync: Part 5: Eliminate filename collisions in sync.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comments Created 8 years 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) 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 "sync/internal_api/public/test/test_entry_factory.h" 5 #include "sync/internal_api/public/test/test_entry_factory.h"
6 6
7 #include "sync/syncable/directory.h" 7 #include "sync/syncable/directory.h"
8 #include "sync/syncable/entry.h" 8 #include "sync/syncable/entry.h"
9 #include "sync/syncable/mutable_entry.h" 9 #include "sync/syncable/mutable_entry.h"
10 #include "sync/syncable/read_transaction.h"
11 #include "sync/syncable/syncable_id.h" 10 #include "sync/syncable/syncable_id.h"
12 #include "sync/syncable/write_transaction.h" 11 #include "sync/syncable/syncable_read_transaction.h"
12 #include "sync/syncable/syncable_write_transaction.h"
13 #include "sync/test/engine/test_id_factory.h" 13 #include "sync/test/engine/test_id_factory.h"
14 14
15 using std::string; 15 using std::string;
16 16
17 namespace syncer { 17 namespace syncer {
18 18
19 using syncable::Id; 19 using syncable::Id;
20 using syncable::MutableEntry; 20 using syncable::MutableEntry;
21 using syncable::UNITTEST; 21 using syncable::UNITTEST;
22 using syncable::WriteTransaction; 22 using syncable::WriteTransaction;
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 return false; 246 return false;
247 } 247 }
248 return entry.Get(syncable::IS_UNAPPLIED_UPDATE); 248 return entry.Get(syncable::IS_UNAPPLIED_UPDATE);
249 } 249 }
250 250
251 int64 TestEntryFactory::GetNextRevision() { 251 int64 TestEntryFactory::GetNextRevision() {
252 return next_revision_++; 252 return next_revision_++;
253 } 253 }
254 254
255 } // namespace syncer 255 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/sync_manager_impl_unittest.cc ('k') | sync/internal_api/test/test_user_share.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698