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

Side by Side Diff: components/autofill/content/browser/wallet/wallet_signin_helper_delegate.h

Issue 1288093004: rAc Wallet extirpation round 4: clean out RPC code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gn Created 5 years, 4 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
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_AUTOFILL_WALLET_SIGNIN_HELPER_DELEGATE_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_WALLET_SIGNIN_HELPER_DELEGATE_H_
7
8 #include <string>
9 #include <vector>
10
11 class GoogleServiceAuthError;
12
13 namespace autofill {
14 namespace wallet {
15
16 // An interface that defines the callbacks for objects that
17 // WalletSigninHelper can return data to.
18 class WalletSigninHelperDelegate {
19 public:
20 virtual ~WalletSigninHelperDelegate() {}
21
22 // Called on a successful passive sign-in.
23 virtual void OnPassiveSigninSuccess() = 0;
24
25 // Called on a failed passive sign-in; |error| describes the error.
26 virtual void OnPassiveSigninFailure(const GoogleServiceAuthError& error) = 0;
27
28 // Called when the Google Wallet cookie value has been retrieved.
29 virtual void OnDidFetchWalletCookieValue(const std::string& cookie_value) = 0;
30 };
31
32 } // namespace wallet
33 } // namespace autofill
34
35 #endif // CHROME_BROWSER_UI_AUTOFILL_WALLET_SIGNIN_HELPER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698