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

Side by Side Diff: chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h

Issue 585213002: [Easy signin] Wire up userClick auth attempt to easy unlock app and back (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@easy_signin_focused_user_changed_observer
Patch Set: . 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 unified diff | Download patch
OLDNEW
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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 private: 292 private:
293 virtual ~EasyUnlockPrivateGetSignInChallengeFunction(); 293 virtual ~EasyUnlockPrivateGetSignInChallengeFunction();
294 294
295 // SyncExtensionFunction: 295 // SyncExtensionFunction:
296 virtual bool RunSync() OVERRIDE; 296 virtual bool RunSync() OVERRIDE;
297 297
298 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateGetSignInChallengeFunction); 298 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateGetSignInChallengeFunction);
299 }; 299 };
300 300
301 class EasyUnlockPrivateTrySignInSecretFunction : 301 class EasyUnlockPrivateTrySignInSecretFunction :
302 public AsyncExtensionFunction { 302 public SyncExtensionFunction {
303 public: 303 public:
304 DECLARE_EXTENSION_FUNCTION("easyUnlockPrivate.trySignInSecret", 304 DECLARE_EXTENSION_FUNCTION("easyUnlockPrivate.trySignInSecret",
305 EASYUNLOCKPRIVATE_TRYSIGNINSECRET) 305 EASYUNLOCKPRIVATE_TRYSIGNINSECRET)
306 EasyUnlockPrivateTrySignInSecretFunction(); 306 EasyUnlockPrivateTrySignInSecretFunction();
307 307
308 private: 308 private:
309 virtual ~EasyUnlockPrivateTrySignInSecretFunction(); 309 virtual ~EasyUnlockPrivateTrySignInSecretFunction();
310 310
311 // AsyncExtensionFunction: 311 // SyncExtensionFunction:
312 virtual bool RunAsync() OVERRIDE; 312 virtual bool RunSync() OVERRIDE;
313 313
314 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateTrySignInSecretFunction); 314 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateTrySignInSecretFunction);
315 }; 315 };
316 316
317 class EasyUnlockPrivateGetUserInfoFunction : public SyncExtensionFunction { 317 class EasyUnlockPrivateGetUserInfoFunction : public SyncExtensionFunction {
318 public: 318 public:
319 DECLARE_EXTENSION_FUNCTION("easyUnlockPrivate.getUserInfo", 319 DECLARE_EXTENSION_FUNCTION("easyUnlockPrivate.getUserInfo",
320 EASYUNLOCKPRIVATE_GETUSERINFO) 320 EASYUNLOCKPRIVATE_GETUSERINFO)
321 EasyUnlockPrivateGetUserInfoFunction(); 321 EasyUnlockPrivateGetUserInfoFunction();
322 322
323 private: 323 private:
324 virtual ~EasyUnlockPrivateGetUserInfoFunction(); 324 virtual ~EasyUnlockPrivateGetUserInfoFunction();
325 325
326 // SyncExtensionFunction: 326 // SyncExtensionFunction:
327 virtual bool RunSync() OVERRIDE; 327 virtual bool RunSync() OVERRIDE;
328 328
329 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateGetUserInfoFunction); 329 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateGetUserInfoFunction);
330 }; 330 };
331 331
332 } // namespace api 332 } // namespace api
333 } // namespace extensions 333 } // namespace extensions
334 334
335 #endif // CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE _API_H_ 335 #endif // CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE _API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698