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

Unified Diff: components/sync/driver/local_device_info_provider_mock.cc

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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: components/sync/driver/local_device_info_provider_mock.cc
diff --git a/components/sync_driver/local_device_info_provider_mock.cc b/components/sync/driver/local_device_info_provider_mock.cc
similarity index 86%
rename from components/sync_driver/local_device_info_provider_mock.cc
rename to components/sync/driver/local_device_info_provider_mock.cc
index 3ab5ce9564b279a9c6ac80a1474a701feae794c2..c52297f9e403ba8d6f83a64b418fb19a94c75714 100644
--- a/components/sync_driver/local_device_info_provider_mock.cc
+++ b/components/sync/driver/local_device_info_provider_mock.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/sync_driver/local_device_info_provider_mock.h"
+#include "components/sync/driver/local_device_info_provider_mock.h"
namespace sync_driver {
LocalDeviceInfoProviderMock::LocalDeviceInfoProviderMock()
- : is_initialized_(false) {}
+ : is_initialized_(false) {}
LocalDeviceInfoProviderMock::LocalDeviceInfoProviderMock(
const std::string& guid,
@@ -16,15 +16,10 @@ LocalDeviceInfoProviderMock::LocalDeviceInfoProviderMock(
const std::string& sync_user_agent,
const sync_pb::SyncEnums::DeviceType device_type,
const std::string& signin_scoped_device_id)
- : is_initialized_(true) {
- local_device_info_.reset(
- new DeviceInfo(
- guid,
- client_name,
- chrome_version,
- sync_user_agent,
- device_type,
- signin_scoped_device_id));
+ : is_initialized_(true) {
+ local_device_info_.reset(new DeviceInfo(guid, client_name, chrome_version,
+ sync_user_agent, device_type,
+ signin_scoped_device_id));
}
LocalDeviceInfoProviderMock::~LocalDeviceInfoProviderMock() {}

Powered by Google App Engine
This is Rietveld 408576698