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

Unified Diff: chrome/browser/sync/glue/device_info_data_type_controller_unittest.cc

Issue 597423002: Device info datatype should be moved to components/sync_driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor CR feedback addressed. Created 6 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
Index: chrome/browser/sync/glue/device_info_data_type_controller_unittest.cc
diff --git a/chrome/browser/sync/glue/device_info_data_type_controller_unittest.cc b/chrome/browser/sync/glue/device_info_data_type_controller_unittest.cc
index 0f0a2b9885f54719b761728a996fd0f57311aa57..4b76c3d6ec8f7ec07747ff4ef450eaa615d129dd 100644
--- a/chrome/browser/sync/glue/device_info_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/device_info_data_type_controller_unittest.cc
@@ -6,13 +6,14 @@
#include "base/callback.h"
#include "base/memory/weak_ptr.h"
#include "base/run_loop.h"
-#include "chrome/browser/sync/glue/device_info_data_type_controller.h"
#include "chrome/browser/sync/glue/local_device_info_provider_mock.h"
#include "chrome/browser/sync/profile_sync_components_factory_mock.h"
+#include "components/sync_driver/device_info_data_type_controller.h"
#include "content/public/test/test_browser_thread_bundle.h"
#include "testing/gtest/include/gtest/gtest.h"
using sync_driver::DataTypeController;
+using sync_driver::DeviceInfoDataTypeController;
namespace browser_sync {
@@ -37,6 +38,8 @@ class DeviceInfoDataTypeControllerTest : public testing::Test {
"device_id"));
controller_ = new DeviceInfoDataTypeController(
+ base::MessageLoopProxy::current(),
+ base::Closure(),
&profile_sync_factory_,
local_device_.get());
« no previous file with comments | « chrome/browser/sync/glue/device_info_data_type_controller.cc ('k') | chrome/browser/sync/glue/device_info_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698