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

Side by Side Diff: components/sync/test/engine/test_directory_setter_upper.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/test/engine/test_directory_setter_upper.h" 5 #include "components/sync/test/engine/test_directory_setter_upper.h"
6 6
7 #include "base/compiler_specific.h"
8 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
9 #include "base/location.h" 8 #include "base/location.h"
10 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
11 #include "components/sync/syncable/directory.h" 10 #include "components/sync/syncable/directory.h"
12 #include "components/sync/syncable/in_memory_directory_backing_store.h" 11 #include "components/sync/syncable/in_memory_directory_backing_store.h"
13 #include "components/sync/syncable/mutable_entry.h" 12 #include "components/sync/syncable/mutable_entry.h"
14 #include "components/sync/syncable/syncable_read_transaction.h" 13 #include "components/sync/syncable/syncable_read_transaction.h"
15 #include "components/sync/syncable/syncable_write_transaction.h" 14 #include "components/sync/syncable/syncable_write_transaction.h"
16 #include "components/sync/test/test_transaction_observer.h" 15 #include "components/sync/test/test_transaction_observer.h"
17 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void TestDirectorySetterUpper::RunInvariantCheck() { 63 void TestDirectorySetterUpper::RunInvariantCheck() {
65 // Check invariants for all items. 64 // Check invariants for all items.
66 syncable::ReadTransaction trans(FROM_HERE, directory()); 65 syncable::ReadTransaction trans(FROM_HERE, directory());
67 66
68 // The TestUnrecoverableErrorHandler that this directory was constructed with 67 // The TestUnrecoverableErrorHandler that this directory was constructed with
69 // will handle error reporting, so we can safely ignore the return value. 68 // will handle error reporting, so we can safely ignore the return value.
70 directory()->FullyCheckTreeInvariants(&trans); 69 directory()->FullyCheckTreeInvariants(&trans);
71 } 70 }
72 71
73 } // namespace syncer 72 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698