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

Side by Side Diff: chrome/browser/sync/backup_rollback_controller_unittest.cc

Issue 1308313003: Componentize chrome/common/sync_util (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/backup_rollback_controller.h" 5 #include "chrome/browser/sync/backup_rollback_controller.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "chrome/browser/sync/supervised_user_signin_manager_wrapper.h" 12 #include "chrome/browser/sync/supervised_user_signin_manager_wrapper.h"
13 #include "chrome/common/chrome_switches.h" 13 #include "components/sync_driver/sync_driver_switches.h"
14 #include "components/sync_driver/sync_prefs.h" 14 #include "components/sync_driver/sync_prefs.h"
15 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 17
18 using ::testing::Return; 18 using ::testing::Return;
19 19
20 namespace { 20 namespace {
21 21
22 #if defined(ENABLE_PRE_SYNC_BACKUP) 22 #if defined(ENABLE_PRE_SYNC_BACKUP)
23 23
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 EXPECT_EQ(0, fake_prefs_.GetRemainingRollbackTries()); 137 EXPECT_EQ(0, fake_prefs_.GetRemainingRollbackTries());
138 138
139 PumpLoop(); 139 PumpLoop();
140 EXPECT_FALSE(rollback_started_); 140 EXPECT_FALSE(rollback_started_);
141 } 141 }
142 142
143 #endif 143 #endif
144 144
145 } // anonymous namespace 145 } // anonymous namespace
146 146
OLDNEW
« no previous file with comments | « chrome/browser/sync/backup_rollback_controller.cc ('k') | chrome/browser/sync/glue/local_device_info_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698