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

Side by Side Diff: components/sync/engine_impl/sync_manager_impl_unittest.cc

Issue 2466463002: Revert of [Sync] IWYU cleanup. (Closed)
Patch Set: Created 4 years, 1 month 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/engine_impl/sync_manager_impl.h" 5 #include "components/sync/engine_impl/sync_manager_impl.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 #include <memory>
8 #include <utility> 9 #include <utility>
9 10
10 #include "base/callback.h" 11 #include "base/callback.h"
11 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
12 #include "base/files/scoped_temp_dir.h" 13 #include "base/files/scoped_temp_dir.h"
13 #include "base/format_macros.h" 14 #include "base/format_macros.h"
14 #include "base/location.h" 15 #include "base/location.h"
15 #include "base/metrics/field_trial.h" 16 #include "base/metrics/field_trial.h"
16 #include "base/run_loop.h" 17 #include "base/run_loop.h"
17 #include "base/strings/string_number_conversions.h" 18 #include "base/strings/string_number_conversions.h"
(...skipping 3517 matching lines...) Expand 10 before | Expand all | Expand 10 after
3535 // SyncManagerInitInvalidStorageTest::GetFactory will return 3536 // SyncManagerInitInvalidStorageTest::GetFactory will return
3536 // DirectoryBackingStore that ensures that SyncManagerImpl::OpenDirectory fails. 3537 // DirectoryBackingStore that ensures that SyncManagerImpl::OpenDirectory fails.
3537 // SyncManagerImpl initialization is done in SyncManagerTest::SetUp. This test's 3538 // SyncManagerImpl initialization is done in SyncManagerTest::SetUp. This test's
3538 // task is to ensure that SyncManagerImpl reported initialization failure in 3539 // task is to ensure that SyncManagerImpl reported initialization failure in
3539 // OnInitializationComplete callback. 3540 // OnInitializationComplete callback.
3540 TEST_F(SyncManagerInitInvalidStorageTest, FailToOpenDatabase) { 3541 TEST_F(SyncManagerInitInvalidStorageTest, FailToOpenDatabase) {
3541 EXPECT_FALSE(initialization_succeeded_); 3542 EXPECT_FALSE(initialization_succeeded_);
3542 } 3543 }
3543 3544
3544 } // namespace syncer 3545 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698