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

Unified Diff: components/sync_driver/local_device_info_provider_mock.h

Issue 612103005: Device info datatype should be moved to components/sync_driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: components/sync_driver/local_device_info_provider_mock.h
diff --git a/chrome/browser/sync/glue/local_device_info_provider_mock.h b/components/sync_driver/local_device_info_provider_mock.h
similarity index 76%
rename from chrome/browser/sync/glue/local_device_info_provider_mock.h
rename to components/sync_driver/local_device_info_provider_mock.h
index 09c890b8a269304f770a27171db2a4b4af9a05c4..5218c6be2e2015db313246eb9ef244f3ed4cb96f 100644
--- a/chrome/browser/sync/glue/local_device_info_provider_mock.h
+++ b/components/sync_driver/local_device_info_provider_mock.h
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_SYNC_GLUE_LOCAL_DEVICE_INFO_PROVIDER_MOCK_H_
-#define CHROME_BROWSER_SYNC_GLUE_LOCAL_DEVICE_INFO_PROVIDER_MOCK_H_
+#ifndef COMPONENTS_SYNC_DRIVER_LOCAL_DEVICE_INFO_PROVIDER_MOCK_H_
+#define COMPONENTS_SYNC_DRIVER_LOCAL_DEVICE_INFO_PROVIDER_MOCK_H_
#include "components/sync_driver/device_info.h"
#include "components/sync_driver/local_device_info_provider.h"
-namespace browser_sync {
+namespace sync_driver {
class LocalDeviceInfoProviderMock
: public sync_driver::LocalDeviceInfoProvider {
@@ -25,7 +25,7 @@ class LocalDeviceInfoProviderMock
const std::string& signin_scoped_device_id);
virtual ~LocalDeviceInfoProviderMock();
- virtual const sync_driver::DeviceInfo* GetLocalDeviceInfo() const OVERRIDE;
+ virtual const DeviceInfo* GetLocalDeviceInfo() const OVERRIDE;
virtual std::string GetLocalSyncCacheGUID() const OVERRIDE;
virtual void Initialize(
const std::string& cache_guid,
@@ -38,10 +38,10 @@ class LocalDeviceInfoProviderMock
private:
bool is_initialized_;
- scoped_ptr<sync_driver::DeviceInfo> local_device_info_;
+ scoped_ptr<DeviceInfo> local_device_info_;
base::CallbackList<void(void)> callback_list_;
};
-} // namespace browser_sync
+} // namespace sync_driver
-#endif // CHROME_BROWSER_SYNC_GLUE_LOCAL_DEVICE_INFO_PROVIDER_MOCK_H_
+#endif // COMPONENTS_SYNC_DRIVER_LOCAL_DEVICE_INFO_PROVIDER_MOCK_H_
« no previous file with comments | « components/sync_driver/device_info_sync_service_unittest.cc ('k') | components/sync_driver/local_device_info_provider_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698