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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 private: | 230 private: |
231 // AutofillDownloadManager::Observer: | 231 // AutofillDownloadManager::Observer: |
232 void OnLoadedServerPredictions(const std::string& response_xml) override; | 232 void OnLoadedServerPredictions(const std::string& response_xml) override; |
233 | 233 |
234 // CardUnmaskDelegate: | 234 // CardUnmaskDelegate: |
235 void OnUnmaskResponse(const UnmaskResponse& response) override; | 235 void OnUnmaskResponse(const UnmaskResponse& response) override; |
236 void OnUnmaskPromptClosed() override; | 236 void OnUnmaskPromptClosed() override; |
237 | 237 |
238 // wallet::RealPanWalletClient::Delegate: | 238 // wallet::RealPanWalletClient::Delegate: |
239 IdentityProvider* GetIdentityProvider() override; | 239 IdentityProvider* GetIdentityProvider() override; |
240 void OnDidGetRealPan(const std::string& real_pan) override; | 240 void OnDidGetRealPan(AutofillClient::GetRealPanResult result, |
| 241 const std::string& real_pan) override; |
241 | 242 |
242 // Returns false if Autofill is disabled or if no Autofill data is available. | 243 // Returns false if Autofill is disabled or if no Autofill data is available. |
243 bool RefreshDataModels(); | 244 bool RefreshDataModels(); |
244 | 245 |
245 // Returns true if the unique_id refers to a credit card and false if | 246 // Returns true if the unique_id refers to a credit card and false if |
246 // it refers to a profile. | 247 // it refers to a profile. |
247 bool IsCreditCard(int unique_id); | 248 bool IsCreditCard(int unique_id); |
248 | 249 |
249 // Gets the profile referred by |unique_id| and populates |variant| | 250 // Gets the profile referred by |unique_id| and populates |variant| |
250 // based on it. Returns true if the profile exists. | 251 // based on it. Returns true if the profile exists. |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 453 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
453 AutocompleteOffRespected); | 454 AutocompleteOffRespected); |
454 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 455 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
455 AutocompleteOffRespectedWithFlag); | 456 AutocompleteOffRespectedWithFlag); |
456 DISALLOW_COPY_AND_ASSIGN(AutofillManager); | 457 DISALLOW_COPY_AND_ASSIGN(AutofillManager); |
457 }; | 458 }; |
458 | 459 |
459 } // namespace autofill | 460 } // namespace autofill |
460 | 461 |
461 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 462 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
OLD | NEW |