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

Side by Side Diff: components/autofill/browser/wallet/wallet_client.cc

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/autofill/wallet/wallet_client.h" 5 #include "components/autofill/browser/wallet/wallet_client.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/json/json_reader.h" 8 #include "base/json/json_reader.h"
9 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "chrome/browser/autofill/wallet/cart.h" 13 #include "components/autofill/browser/wallet/cart.h"
14 #include "chrome/browser/autofill/wallet/instrument.h" 14 #include "components/autofill/browser/wallet/instrument.h"
15 #include "chrome/browser/autofill/wallet/wallet_address.h" 15 #include "components/autofill/browser/wallet/wallet_address.h"
16 #include "chrome/browser/autofill/wallet/wallet_client_observer.h" 16 #include "components/autofill/browser/wallet/wallet_client_observer.h"
17 #include "chrome/browser/autofill/wallet/wallet_items.h" 17 #include "components/autofill/browser/wallet/wallet_items.h"
18 #include "chrome/browser/autofill/wallet/wallet_service_url.h" 18 #include "components/autofill/browser/wallet/wallet_service_url.h"
19 #include "crypto/random.h" 19 #include "crypto/random.h"
20 #include "google_apis/google_api_keys.h" 20 #include "google_apis/google_api_keys.h"
21 #include "googleurl/src/gurl.h" 21 #include "googleurl/src/gurl.h"
22 #include "net/http/http_status_code.h" 22 #include "net/http/http_status_code.h"
23 #include "net/url_request/url_fetcher.h" 23 #include "net/url_request/url_fetcher.h"
24 #include "net/url_request/url_request_context_getter.h" 24 #include "net/url_request/url_request_context_getter.h"
25 25
26 namespace autofill { 26 namespace autofill {
27 namespace wallet { 27 namespace wallet {
28 28
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 void WalletClient::OnNetworkError(int response_code) { 655 void WalletClient::OnNetworkError(int response_code) {
656 observer_->OnNetworkError(response_code); 656 observer_->OnNetworkError(response_code);
657 } 657 }
658 658
659 void WalletClient::OnMalformedResponse() { 659 void WalletClient::OnMalformedResponse() {
660 observer_->OnMalformedResponse(); 660 observer_->OnMalformedResponse();
661 } 661 }
662 662
663 } // namespace wallet 663 } // namespace wallet
664 } // namespace autofill 664 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/browser/wallet/wallet_client.h ('k') | components/autofill/browser/wallet/wallet_client_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698