OLD | NEW |
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 #include "chrome/browser/autofill/wallet/encryption_escrow_client.h" | 5 #include "chrome/browser/autofill/wallet/encryption_escrow_client.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
10 #include "base/string_split.h" | |
11 #include "base/stringprintf.h" | 10 #include "base/stringprintf.h" |
| 11 #include "base/strings/string_split.h" |
12 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
13 #include "chrome/browser/autofill/wallet/encryption_escrow_client_observer.h" | 13 #include "chrome/browser/autofill/wallet/encryption_escrow_client_observer.h" |
14 #include "chrome/browser/autofill/wallet/instrument.h" | 14 #include "chrome/browser/autofill/wallet/instrument.h" |
15 #include "chrome/browser/autofill/wallet/wallet_service_url.h" | 15 #include "chrome/browser/autofill/wallet/wallet_service_url.h" |
16 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
17 #include "net/base/escape.h" | 17 #include "net/base/escape.h" |
18 #include "net/http/http_status_code.h" | 18 #include "net/http/http_status_code.h" |
19 #include "net/url_request/url_fetcher.h" | 19 #include "net/url_request/url_fetcher.h" |
20 #include "net/url_request/url_request_context_getter.h" | 20 #include "net/url_request/url_request_context_getter.h" |
21 | 21 |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 178 |
179 void EncryptionEscrowClient::HandleMalformedResponse(net::URLFetcher* request) { | 179 void EncryptionEscrowClient::HandleMalformedResponse(net::URLFetcher* request) { |
180 // Called to inform exponential backoff logic of the error. | 180 // Called to inform exponential backoff logic of the error. |
181 request->ReceivedContentWasMalformed(); | 181 request->ReceivedContentWasMalformed(); |
182 if (observer_) | 182 if (observer_) |
183 observer_->OnMalformedResponse(); | 183 observer_->OnMalformedResponse(); |
184 } | 184 } |
185 | 185 |
186 } // namespace wallet | 186 } // namespace wallet |
187 } // namespace autofill | 187 } // namespace autofill |
OLD | NEW |