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

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

Issue 566623003: Refactor syncable DEVICE_INFO type from ChangeProcessor to SyncableService - part 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unit test fixes 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/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 c6f264390842f518ccf84017368d964d19e8bad8..4eeff7dfd3dc0c630d85367e4a116a3e5a85c3c3 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
@@ -10,10 +10,7 @@
#include "base/memory/scoped_vector.h"
#include "chrome/browser/extensions/chrome_extension_function.h"
-
-namespace browser_sync {
-class DeviceInfo;
-} // namespace browser_sync
+#include "chrome/browser/sync/glue/device_info_tracker.h"
pavely 2014/09/17 23:04:38 nit: Please forward declare class instead of inclu
stanisc 2014/09/18 22:46:53 Done.
namespace extensions {
class ExtensionPrefs;
@@ -34,7 +31,7 @@ ScopedVector<browser_sync::DeviceInfo> GetAllSignedInDevices(
ScopedVector<browser_sync::DeviceInfo> GetAllSignedInDevices(
const std::string& extension_id,
- ProfileSyncService* pss,
+ browser_sync::DeviceInfoTracker* device_tracker,
ExtensionPrefs* extension_prefs);
class SignedInDevicesGetFunction : public ChromeSyncExtensionFunction {

Powered by Google App Engine
This is Rietveld 408576698