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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 // Exposed for testing. | 219 // Exposed for testing. |
220 AutofillExternalDelegate* external_delegate() { | 220 AutofillExternalDelegate* external_delegate() { |
221 return external_delegate_; | 221 return external_delegate_; |
222 } | 222 } |
223 | 223 |
224 private: | 224 private: |
225 // AutofillDownloadManager::Observer: | 225 // AutofillDownloadManager::Observer: |
226 void OnLoadedServerPredictions(const std::string& response_xml) override; | 226 void OnLoadedServerPredictions(const std::string& response_xml) override; |
227 | 227 |
228 // CardUnmaskDelegate: | 228 // CardUnmaskDelegate: |
229 void OnUnmaskResponse(const base::string16& cvc) override; | 229 void OnUnmaskResponse(const base::string16& cvc, |
| 230 const base::string16& exp_month, |
| 231 const base::string16& exp_year) override; |
230 void OnUnmaskPromptClosed() override; | 232 void OnUnmaskPromptClosed() override; |
231 | 233 |
232 // wallet::RealPanWalletClient::Delegate: | 234 // wallet::RealPanWalletClient::Delegate: |
233 void OnDidGetRealPan(const std::string& real_pan) override; | 235 void OnDidGetRealPan(const std::string& real_pan) override; |
234 std::string GetOAuth2Token() override; | 236 std::string GetOAuth2Token() override; |
235 | 237 |
236 // A toy method called when the (fake) unmasking process has finished. | 238 // A toy method called when the (fake) unmasking process has finished. |
237 void OnUnmaskVerificationResult(bool success); | 239 void OnUnmaskVerificationResult(bool success); |
238 | 240 |
239 // Returns false if Autofill is disabled or if no Autofill data is available. | 241 // Returns false if Autofill is disabled or if no Autofill data is available. |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 418 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
417 AutocompleteOffRespected); | 419 AutocompleteOffRespected); |
418 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 420 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
419 AutocompleteOffRespectedWithFlag); | 421 AutocompleteOffRespectedWithFlag); |
420 DISALLOW_COPY_AND_ASSIGN(AutofillManager); | 422 DISALLOW_COPY_AND_ASSIGN(AutofillManager); |
421 }; | 423 }; |
422 | 424 |
423 } // namespace autofill | 425 } // namespace autofill |
424 | 426 |
425 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 427 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
OLD | NEW |