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

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

Issue 2662453008: [Sync] Fix sync lint errors/includes, update presubmit. (Closed)
Patch Set: Rebase Created 3 years, 10 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/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>
9 #include <utility> 8 #include <utility>
10 9
11 #include "base/callback.h" 10 #include "base/callback.h"
12 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
13 #include "base/files/scoped_temp_dir.h" 12 #include "base/files/scoped_temp_dir.h"
14 #include "base/format_macros.h" 13 #include "base/format_macros.h"
15 #include "base/location.h" 14 #include "base/location.h"
16 #include "base/metrics/field_trial.h" 15 #include "base/metrics/field_trial.h"
17 #include "base/run_loop.h" 16 #include "base/run_loop.h"
18 #include "base/strings/string_number_conversions.h" 17 #include "base/strings/string_number_conversions.h"
(...skipping 3465 matching lines...) Expand 10 before | Expand all | Expand 10 after
3484 // SyncManagerInitInvalidStorageTest::GetFactory will return 3483 // SyncManagerInitInvalidStorageTest::GetFactory will return
3485 // DirectoryBackingStore that ensures that SyncManagerImpl::OpenDirectory fails. 3484 // DirectoryBackingStore that ensures that SyncManagerImpl::OpenDirectory fails.
3486 // SyncManagerImpl initialization is done in SyncManagerTest::SetUp. This test's 3485 // SyncManagerImpl initialization is done in SyncManagerTest::SetUp. This test's
3487 // task is to ensure that SyncManagerImpl reported initialization failure in 3486 // task is to ensure that SyncManagerImpl reported initialization failure in
3488 // OnInitializationComplete callback. 3487 // OnInitializationComplete callback.
3489 TEST_F(SyncManagerInitInvalidStorageTest, FailToOpenDatabase) { 3488 TEST_F(SyncManagerInitInvalidStorageTest, FailToOpenDatabase) {
3490 EXPECT_FALSE(initialization_succeeded_); 3489 EXPECT_FALSE(initialization_succeeded_);
3491 } 3490 }
3492 3491
3493 } // namespace syncer 3492 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698