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

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

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 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/signed_in_devices_api.h
diff --git a/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.h b/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.h
index 264600c4b9c945c95afa40b80c8f10cce66fba0d..ef6d31f4e254887c50ba063ede96bc23324e6704 100644
--- a/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.h
+++ b/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.h
@@ -5,22 +5,21 @@
#ifndef CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_API_H__
#define CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_API_H__
-#include <memory>
#include <string>
#include <vector>
#include "chrome/browser/extensions/chrome_extension_function.h"
-class Profile;
+namespace sync_driver {
+class DeviceInfo;
+class DeviceInfoTracker;
+} // namespace sync_driver
namespace extensions {
class ExtensionPrefs;
} // namespace extensions
-namespace syncer {
-class DeviceInfo;
-class DeviceInfoTracker;
-} // namespace syncer
+class Profile;
namespace extensions {
@@ -28,13 +27,13 @@ namespace extensions {
// filled with the list of devices associated with the account signed into this
// |profile|. This function needs the |extension_id| because the
// public device ids are set per extension.
-std::vector<std::unique_ptr<syncer::DeviceInfo>> GetAllSignedInDevices(
+std::vector<std::unique_ptr<sync_driver::DeviceInfo>> GetAllSignedInDevices(
const std::string& extension_id,
Profile* profile);
-std::vector<std::unique_ptr<syncer::DeviceInfo>> GetAllSignedInDevices(
+std::vector<std::unique_ptr<sync_driver::DeviceInfo>> GetAllSignedInDevices(
const std::string& extension_id,
- syncer::DeviceInfoTracker* device_tracker,
+ sync_driver::DeviceInfoTracker* device_tracker,
ExtensionPrefs* extension_prefs);
class SignedInDevicesGetFunction : public ChromeSyncExtensionFunction {

Powered by Google App Engine
This is Rietveld 408576698