| Index: trunk/src/chrome/browser/extensions/api/gcd_private/gcd_private_api.h
|
| ===================================================================
|
| --- trunk/src/chrome/browser/extensions/api/gcd_private/gcd_private_api.h (revision 282216)
|
| +++ trunk/src/chrome/browser/extensions/api/gcd_private/gcd_private_api.h (working copy)
|
| @@ -37,8 +37,6 @@
|
| // BrowserContextKeyedAPI implementation.
|
| static BrowserContextKeyedAPIFactory<GcdPrivateAPI>* GetFactoryInstance();
|
|
|
| - bool QueryForDevices();
|
| -
|
| private:
|
| friend class BrowserContextKeyedAPIFactory<GcdPrivateAPI>;
|
|
|
| @@ -100,7 +98,7 @@
|
| };
|
|
|
| class GcdPrivateQueryForNewLocalDevicesFunction
|
| - : public ChromeSyncExtensionFunction {
|
| + : public ChromeAsyncExtensionFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION("gcdPrivate.queryForNewLocalDevices",
|
| GCDPRIVATE_QUERYFORNEWLOCALDEVICES)
|
| @@ -110,8 +108,8 @@
|
| protected:
|
| virtual ~GcdPrivateQueryForNewLocalDevicesFunction();
|
|
|
| - // SyncExtensionFunction overrides.
|
| - virtual bool RunSync() OVERRIDE;
|
| + // AsyncExtensionFunction overrides.
|
| + virtual bool RunAsync() OVERRIDE;
|
| };
|
|
|
| class GcdPrivateStartSetupFunction : public ChromeAsyncExtensionFunction {
|
|
|