| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 // Exposed for testing. | 222 // Exposed for testing. |
| 223 AutofillExternalDelegate* external_delegate() { | 223 AutofillExternalDelegate* external_delegate() { |
| 224 return external_delegate_; | 224 return external_delegate_; |
| 225 } | 225 } |
| 226 | 226 |
| 227 private: | 227 private: |
| 228 // AutofillDownloadManager::Observer: | 228 // AutofillDownloadManager::Observer: |
| 229 void OnLoadedServerPredictions(const std::string& response_xml) override; | 229 void OnLoadedServerPredictions(const std::string& response_xml) override; |
| 230 | 230 |
| 231 // CardUnmaskDelegate: | 231 // CardUnmaskDelegate: |
| 232 void OnUnmaskResponse(const base::string16& cvc, | 232 void OnUnmaskResponse(const UnmaskResponse& response) override; |
| 233 const base::string16& exp_month, | |
| 234 const base::string16& exp_year) override; | |
| 235 void OnUnmaskPromptClosed() override; | 233 void OnUnmaskPromptClosed() override; |
| 236 | 234 |
| 237 // wallet::RealPanWalletClient::Delegate: | 235 // wallet::RealPanWalletClient::Delegate: |
| 238 IdentityProvider* GetIdentityProvider() override; | 236 IdentityProvider* GetIdentityProvider() override; |
| 239 void OnDidGetRealPan(const std::string& real_pan) override; | 237 void OnDidGetRealPan(const std::string& real_pan) override; |
| 240 | 238 |
| 241 // Returns false if Autofill is disabled or if no Autofill data is available. | 239 // Returns false if Autofill is disabled or if no Autofill data is available. |
| 242 bool RefreshDataModels() const; | 240 bool RefreshDataModels() const; |
| 243 | 241 |
| 244 // Unpacks |unique_id| and fills |form_group| and |variant| with the | 242 // Unpacks |unique_id| and fills |form_group| and |variant| with the |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 416 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
| 419 AutocompleteOffRespected); | 417 AutocompleteOffRespected); |
| 420 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 418 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
| 421 AutocompleteOffRespectedWithFlag); | 419 AutocompleteOffRespectedWithFlag); |
| 422 DISALLOW_COPY_AND_ASSIGN(AutofillManager); | 420 DISALLOW_COPY_AND_ASSIGN(AutofillManager); |
| 423 }; | 421 }; |
| 424 | 422 |
| 425 } // namespace autofill | 423 } // namespace autofill |
| 426 | 424 |
| 427 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 425 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
| OLD | NEW |