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

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

Issue 2399423004: [Extensions] Convert some ChromeSyncExtensionFunctions (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..b24066be1e87329e32bd31cd95f781a4288a1b18 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
@@ -37,12 +37,12 @@ std::vector<std::unique_ptr<syncer::DeviceInfo>> GetAllSignedInDevices(
syncer::DeviceInfoTracker* device_tracker,
ExtensionPrefs* extension_prefs);
-class SignedInDevicesGetFunction : public ChromeSyncExtensionFunction {
+class SignedInDevicesGetFunction : public UIThreadExtensionFunction {
protected:
~SignedInDevicesGetFunction() override {}
// ExtensionFunction:
- bool RunSync() override;
+ ResponseAction Run() override;
DECLARE_EXTENSION_FUNCTION("signedInDevices.get", SIGNED_IN_DEVICES_GET)
};

Powered by Google App Engine
This is Rietveld 408576698