Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / api / signed_in_devices / signed_in_devices_api.h
index c6f2643..8fa8775 100644 (file)
 #include "base/memory/scoped_vector.h"
 #include "chrome/browser/extensions/chrome_extension_function.h"
 
-namespace browser_sync {
+namespace sync_driver {
 class DeviceInfo;
-}  // namespace browser_sync
+class DeviceInfoTracker;
+}  // namespace sync_driver
 
 namespace extensions {
 class ExtensionPrefs;
 }  // namespace extensions
 
 class Profile;
-class ProfileSyncService;
 
 namespace extensions {
 
@@ -28,13 +28,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.
-ScopedVector<browser_sync::DeviceInfo> GetAllSignedInDevices(
+ScopedVector<sync_driver::DeviceInfo> GetAllSignedInDevices(
     const std::string& extension_id,
     Profile* profile);
 
-ScopedVector<browser_sync::DeviceInfo> GetAllSignedInDevices(
+ScopedVector<sync_driver::DeviceInfo> GetAllSignedInDevices(
     const std::string& extension_id,
-    ProfileSyncService* pss,
+    sync_driver::DeviceInfoTracker* device_tracker,
     ExtensionPrefs* extension_prefs);
 
 class SignedInDevicesGetFunction : public ChromeSyncExtensionFunction {