OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_API_H_
_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_API_H_
_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_API_H_
_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_API_H_
_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 ScopedVector<sync_driver::DeviceInfo> GetAllSignedInDevices( | 35 ScopedVector<sync_driver::DeviceInfo> GetAllSignedInDevices( |
36 const std::string& extension_id, | 36 const std::string& extension_id, |
37 sync_driver::DeviceInfoTracker* device_tracker, | 37 sync_driver::DeviceInfoTracker* device_tracker, |
38 ExtensionPrefs* extension_prefs); | 38 ExtensionPrefs* extension_prefs); |
39 | 39 |
40 class SignedInDevicesGetFunction : public ChromeSyncExtensionFunction { | 40 class SignedInDevicesGetFunction : public ChromeSyncExtensionFunction { |
41 protected: | 41 protected: |
42 virtual ~SignedInDevicesGetFunction() {} | 42 virtual ~SignedInDevicesGetFunction() {} |
43 | 43 |
44 // ExtensionFunction: | 44 // ExtensionFunction: |
45 virtual bool RunSync() OVERRIDE; | 45 virtual bool RunSync() override; |
46 DECLARE_EXTENSION_FUNCTION("signedInDevices.get", SIGNED_IN_DEVICES_GET) | 46 DECLARE_EXTENSION_FUNCTION("signedInDevices.get", SIGNED_IN_DEVICES_GET) |
47 }; | 47 }; |
48 | 48 |
49 } // namespace extensions | 49 } // namespace extensions |
50 | 50 |
51 #endif // CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_API
_H__ | 51 #endif // CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_API
_H__ |
OLD | NEW |