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

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

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 2013 The Chromium Authors. All rights reserved. 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 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_CONTENT_BROWSER_WALLET_WALLET_CLIENT_H_ 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_CLIENT_H_
6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_CLIENT_H_ 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_CLIENT_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 const std::string& mime_type, 216 const std::string& mime_type,
217 RequestType request_type); 217 RequestType request_type);
218 218
219 // Performs bookkeeping tasks for any invalid requests. 219 // Performs bookkeeping tasks for any invalid requests.
220 void HandleMalformedResponse(RequestType request_type, 220 void HandleMalformedResponse(RequestType request_type,
221 net::URLFetcher* request); 221 net::URLFetcher* request);
222 void HandleNetworkError(int response_code); 222 void HandleNetworkError(int response_code);
223 void HandleWalletError(ErrorType error_type); 223 void HandleWalletError(ErrorType error_type);
224 224
225 // net::URLFetcherDelegate: 225 // net::URLFetcherDelegate:
226 virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; 226 virtual void OnURLFetchComplete(const net::URLFetcher* source) override;
227 227
228 // Logs an UMA metric for each of the |required_actions|. 228 // Logs an UMA metric for each of the |required_actions|.
229 void LogRequiredActions( 229 void LogRequiredActions(
230 const std::vector<RequiredAction>& required_actions) const; 230 const std::vector<RequiredAction>& required_actions) const;
231 231
232 // Converts |request_type| to an UMA metric. 232 // Converts |request_type| to an UMA metric.
233 AutofillMetrics::WalletApiCallMetric RequestTypeToUmaMetric( 233 AutofillMetrics::WalletApiCallMetric RequestTypeToUmaMetric(
234 RequestType request_type) const; 234 RequestType request_type) const;
235 235
236 // The context for the request. Ensures the gdToken cookie is set as a header 236 // The context for the request. Ensures the gdToken cookie is set as a header
(...skipping 26 matching lines...) Expand all
263 263
264 base::WeakPtrFactory<WalletClient> weak_ptr_factory_; 264 base::WeakPtrFactory<WalletClient> weak_ptr_factory_;
265 265
266 DISALLOW_COPY_AND_ASSIGN(WalletClient); 266 DISALLOW_COPY_AND_ASSIGN(WalletClient);
267 }; 267 };
268 268
269 } // namespace wallet 269 } // namespace wallet
270 } // namespace autofill 270 } // namespace autofill
271 271
272 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_CLIENT_H_ 272 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698