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

Unified Diff: components/sync_driver/backup_rollback_controller_unittest.cc

Issue 1354883003: Componentize chrome/browser/sync/backup_rollback_controller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync_driver/backup_rollback_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/backup_rollback_controller_unittest.cc
diff --git a/chrome/browser/sync/backup_rollback_controller_unittest.cc b/components/sync_driver/backup_rollback_controller_unittest.cc
similarity index 95%
rename from chrome/browser/sync/backup_rollback_controller_unittest.cc
rename to components/sync_driver/backup_rollback_controller_unittest.cc
index 8f6ff7593a19e85bfd8e8c8b67abbaca3d2d9581..4530a88dc8147cb5824518b1c8b6eca057a8da26 100644
--- a/chrome/browser/sync/backup_rollback_controller_unittest.cc
+++ b/components/sync_driver/backup_rollback_controller_unittest.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/sync/backup_rollback_controller.h"
+#include "components/sync_driver/backup_rollback_controller.h"
#include "base/command_line.h"
#include "base/location.h"
@@ -59,7 +59,7 @@ class BackupRollbackControllerTest : public testing::Test {
EXPECT_CALL(signin_wrapper_, GetEffectiveUsername())
.WillRepeatedly(Return(""));
- controller_.reset(new browser_sync::BackupRollbackController(
+ controller_.reset(new sync_driver::BackupRollbackController(
&fake_prefs_, &signin_wrapper_,
base::Bind(&BackupRollbackControllerTest::ControllerCallback,
base::Unretained(this), true),
@@ -75,7 +75,7 @@ class BackupRollbackControllerTest : public testing::Test {
MockSigninManagerWrapper signin_wrapper_;
FakeSyncPrefs fake_prefs_;
- scoped_ptr<browser_sync::BackupRollbackController> controller_;
+ scoped_ptr<sync_driver::BackupRollbackController> controller_;
bool backup_started_;
bool rollback_started_;
base::MessageLoop loop_;
@@ -143,4 +143,3 @@ TEST_F(BackupRollbackControllerTest, NoRollbackIfDisabled) {
#endif
} // anonymous namespace
-
« no previous file with comments | « components/sync_driver/backup_rollback_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698