| 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 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 } | 240 } |
| 241 | 241 |
| 242 // Exposed for testing. | 242 // Exposed for testing. |
| 243 void set_payments_client(payments::PaymentsClient* payments_client) { | 243 void set_payments_client(payments::PaymentsClient* payments_client) { |
| 244 payments_client_.reset(payments_client); | 244 payments_client_.reset(payments_client); |
| 245 } | 245 } |
| 246 | 246 |
| 247 private: | 247 private: |
| 248 // AutofillDownloadManager::Observer: | 248 // AutofillDownloadManager::Observer: |
| 249 void OnLoadedServerPredictions( | 249 void OnLoadedServerPredictions( |
| 250 const std::string& response_xml, | 250 std::string response_xml, |
| 251 const std::vector<std::string>& form_signatures) override; | 251 const std::vector<std::string>& form_signatures) override; |
| 252 | 252 |
| 253 // CardUnmaskDelegate: | 253 // CardUnmaskDelegate: |
| 254 void OnUnmaskResponse(const UnmaskResponse& response) override; | 254 void OnUnmaskResponse(const UnmaskResponse& response) override; |
| 255 void OnUnmaskPromptClosed() override; | 255 void OnUnmaskPromptClosed() override; |
| 256 | 256 |
| 257 // payments::PaymentsClientDelegate: | 257 // payments::PaymentsClientDelegate: |
| 258 IdentityProvider* GetIdentityProvider() override; | 258 IdentityProvider* GetIdentityProvider() override; |
| 259 void OnDidGetRealPan(AutofillClient::PaymentsRpcResult result, | 259 void OnDidGetRealPan(AutofillClient::PaymentsRpcResult result, |
| 260 const std::string& real_pan) override; | 260 const std::string& real_pan) override; |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 538 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
| 539 DontSaveCvcInAutocompleteHistory); | 539 DontSaveCvcInAutocompleteHistory); |
| 540 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, DontOfferToSavePaymentsCard); | 540 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, DontOfferToSavePaymentsCard); |
| 541 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, FillInUpdatedExpirationDate); | 541 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, FillInUpdatedExpirationDate); |
| 542 DISALLOW_COPY_AND_ASSIGN(AutofillManager); | 542 DISALLOW_COPY_AND_ASSIGN(AutofillManager); |
| 543 }; | 543 }; |
| 544 | 544 |
| 545 } // namespace autofill | 545 } // namespace autofill |
| 546 | 546 |
| 547 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 547 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
| OLD | NEW |