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

Unified Diff: chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.h

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/extensions/api/signed_in_devices/id_mapping_helper.h
diff --git a/chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.h b/chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.h
index 48a029a3813b2a9c6663b69161fbb374b312aee1..a12663384256fed624937316c5f81a327bb11f00 100644
--- a/chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.h
+++ b/chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.h
@@ -14,9 +14,9 @@ namespace base {
class DictionaryValue;
} // namespace base
-namespace browser_sync {
+namespace sync_driver {
class DeviceInfo;
-} // namespace browser_sync
+} // namespace sync_driver
class Profile;
@@ -45,12 +45,12 @@ std::string GetGUIDFromPublicId(
// The dictionary would have the public id as the key and the
// device guid as the value.
void CreateMappingForUnmappedDevices(
- std::vector<browser_sync::DeviceInfo*>* device_info,
+ std::vector<sync_driver::DeviceInfo*>* device_info,
base::DictionaryValue* value);
// Gets the device info for a given client id. If the device is not found
// the returned pointer would be null.
-scoped_ptr<browser_sync::DeviceInfo> GetDeviceInfoForClientId(
+scoped_ptr<sync_driver::DeviceInfo> GetDeviceInfoForClientId(
const std::string& client_id,
const std::string& extension_id,
Profile* profile);

Powered by Google App Engine
This is Rietveld 408576698