Index: components/sync_driver/device_info.cc |
diff --git a/chrome/browser/sync/glue/device_info.cc b/components/sync_driver/device_info.cc |
similarity index 90% |
rename from chrome/browser/sync/glue/device_info.cc |
rename to components/sync_driver/device_info.cc |
index 8d07eeabd293ff94b5a1067390717c36359979db..c80a1571c964640a6c00ea74fe10939a90f6275c 100644 |
--- a/chrome/browser/sync/glue/device_info.cc |
+++ b/components/sync_driver/device_info.cc |
@@ -3,11 +3,9 @@ |
// found in the LICENSE file. |
#include "base/values.h" |
-#include "chrome/browser/sync/glue/device_info.h" |
-#include "content/public/browser/browser_thread.h" |
-#include "sync/util/get_session_name.h" |
+#include "components/sync_driver/device_info.h" |
-namespace browser_sync { |
+namespace sync_driver { |
DeviceInfo::DeviceInfo(const std::string& guid, |
const std::string& client_name, |
@@ -112,9 +110,4 @@ void DeviceInfo::set_public_id(std::string id) { |
public_id_ = id; |
} |
-// static. |
-void DeviceInfo::GetClientName(const GetClientNameCallback& callback) { |
- syncer::GetSessionName(content::BrowserThread::GetBlockingPool(), callback); |
-} |
- |
-} // namespace browser_sync |
+} // namespace sync_driver |