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

Side by Side Diff: components/autofill/browser/wallet/wallet_client_delegate.h

Issue 12457033: Implements SendAutocheckoutStatus API calls for stats tracking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing unit tests Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
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 COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_CLIENT_OBSERVER_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_CLIENT_OBSERVER_H_
6 #define COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_CLIENT_OBSERVER_H_ 6 #define COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_CLIENT_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 // Called when a SaveInstrumentAndAddress request finishes succesfully. 73 // Called when a SaveInstrumentAndAddress request finishes succesfully.
74 // |instrument_id| and |address_id| can be used in subsequent 74 // |instrument_id| and |address_id| can be used in subsequent
75 // GetFullWallet calls. |required_actions| is populated if there was a 75 // GetFullWallet calls. |required_actions| is populated if there was a
76 // validation error with the data being saved. 76 // validation error with the data being saved.
77 virtual void OnDidSaveInstrumentAndAddress( 77 virtual void OnDidSaveInstrumentAndAddress(
78 const std::string& instrument_id, 78 const std::string& instrument_id,
79 const std::string& address_id, 79 const std::string& address_id,
80 const std::vector<RequiredAction>& required_actions) = 0; 80 const std::vector<RequiredAction>& required_actions) = 0;
81 81
82 // Called when a SendAutocheckoutStatus request finishes successfully.
83 virtual void OnDidSendAutocheckoutStatus() = 0;
84
85 // Called when an UpdateAddress request finishes successfully. 82 // Called when an UpdateAddress request finishes successfully.
86 // |required_actions| is populated if there was a validation error with the 83 // |required_actions| is populated if there was a validation error with the
87 // data being saved. 84 // data being saved.
88 virtual void OnDidUpdateAddress( 85 virtual void OnDidUpdateAddress(
89 const std::string& address_id, 86 const std::string& address_id,
90 const std::vector<RequiredAction>& required_actions) = 0; 87 const std::vector<RequiredAction>& required_actions) = 0;
91 88
92 // Called when an UpdateInstrument request finishes successfully. 89 // Called when an UpdateInstrument request finishes successfully.
93 // |required_actions| is populated if there was a validation error with the 90 // |required_actions| is populated if there was a validation error with the
94 // data being saved. 91 // data being saved.
(...skipping 11 matching lines...) Expand all
106 virtual void OnNetworkError(int response_code) = 0; 103 virtual void OnNetworkError(int response_code) = 0;
107 104
108 protected: 105 protected:
109 virtual ~WalletClientDelegate() {} 106 virtual ~WalletClientDelegate() {}
110 }; 107 };
111 108
112 } // namespace wallet 109 } // namespace wallet
113 } // namespace autofill 110 } // namespace autofill
114 111
115 #endif // COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_CLIENT_OBSERVER_H_ 112 #endif // COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_CLIENT_OBSERVER_H_
OLDNEW
« no previous file with comments | « components/autofill/browser/wallet/wallet_client.cc ('k') | components/autofill/browser/wallet/wallet_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698