OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE_AP
I_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE_AP
I_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE_AP
I_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE_AP
I_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 | 270 |
271 private: | 271 private: |
272 virtual ~EasyUnlockPrivateGetRemoteDevicesFunction(); | 272 virtual ~EasyUnlockPrivateGetRemoteDevicesFunction(); |
273 | 273 |
274 // SyncExtensionFunction: | 274 // SyncExtensionFunction: |
275 virtual bool RunSync() OVERRIDE; | 275 virtual bool RunSync() OVERRIDE; |
276 | 276 |
277 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateGetRemoteDevicesFunction); | 277 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateGetRemoteDevicesFunction); |
278 }; | 278 }; |
279 | 279 |
| 280 class EasyUnlockPrivateGetSignInChallengeFunction : |
| 281 public AsyncExtensionFunction { |
| 282 public: |
| 283 DECLARE_EXTENSION_FUNCTION("easyUnlockPrivate.getSignInChallenge", |
| 284 EASYUNLOCKPRIVATE_GETSIGNINCHALLENGE) |
| 285 EasyUnlockPrivateGetSignInChallengeFunction(); |
| 286 |
| 287 private: |
| 288 virtual ~EasyUnlockPrivateGetSignInChallengeFunction(); |
| 289 |
| 290 // AsyncExtensionFunction: |
| 291 virtual bool RunAsync() OVERRIDE; |
| 292 |
| 293 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateGetSignInChallengeFunction); |
| 294 }; |
| 295 |
| 296 class EasyUnlockPrivateTrySignInSecretFunction : |
| 297 public AsyncExtensionFunction { |
| 298 public: |
| 299 DECLARE_EXTENSION_FUNCTION("easyUnlockPrivate.trySignInSecret", |
| 300 EASYUNLOCKPRIVATE_TRYSIGNINSECRET) |
| 301 EasyUnlockPrivateTrySignInSecretFunction(); |
| 302 |
| 303 private: |
| 304 virtual ~EasyUnlockPrivateTrySignInSecretFunction(); |
| 305 |
| 306 // AsyncExtensionFunction: |
| 307 virtual bool RunAsync() OVERRIDE; |
| 308 |
| 309 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateTrySignInSecretFunction); |
| 310 }; |
| 311 |
280 } // namespace api | 312 } // namespace api |
281 } // namespace extensions | 313 } // namespace extensions |
282 | 314 |
283 #endif // CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE
_API_H_ | 315 #endif // CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE
_API_H_ |
OLD | NEW |