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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 // When the user first interacted with a potentially fillable form on this | 364 // When the user first interacted with a potentially fillable form on this |
365 // page. | 365 // page. |
366 base::TimeTicks initial_interaction_timestamp_; | 366 base::TimeTicks initial_interaction_timestamp_; |
367 | 367 |
368 // Our copy of the form data. | 368 // Our copy of the form data. |
369 ScopedVector<FormStructure> form_structures_; | 369 ScopedVector<FormStructure> form_structures_; |
370 | 370 |
371 // A copy of the credit card that's currently being unmasked, and data about | 371 // A copy of the credit card that's currently being unmasked, and data about |
372 // the form. | 372 // the form. |
373 CreditCard unmasking_card_; | 373 CreditCard unmasking_card_; |
374 // CVC is not part of CreditCard, so store it separately. | 374 // A copy of the latest card unmasking response. |
375 base::string16 unmasking_cvc_; | 375 UnmaskResponse unmask_response_; |
376 int unmasking_query_id_; | 376 int unmasking_query_id_; |
377 FormData unmasking_form_; | 377 FormData unmasking_form_; |
378 FormFieldData unmasking_field_; | 378 FormFieldData unmasking_field_; |
379 | 379 |
380 // SuggestionBackendID to ID mapping. We keep two maps to convert back and | 380 // SuggestionBackendID to ID mapping. We keep two maps to convert back and |
381 // forth. These should be used only by BackendIDToInt and IntToBackendID. | 381 // forth. These should be used only by BackendIDToInt and IntToBackendID. |
382 // Note that the integers are not frontend IDs. | 382 // Note that the integers are not frontend IDs. |
383 mutable std::map<SuggestionBackendID, int> backend_to_int_map_; | 383 mutable std::map<SuggestionBackendID, int> backend_to_int_map_; |
384 mutable std::map<int, SuggestionBackendID> int_to_backend_map_; | 384 mutable std::map<int, SuggestionBackendID> int_to_backend_map_; |
385 | 385 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 421 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
422 AutocompleteOffRespected); | 422 AutocompleteOffRespected); |
423 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 423 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
424 AutocompleteOffRespectedWithFlag); | 424 AutocompleteOffRespectedWithFlag); |
425 DISALLOW_COPY_AND_ASSIGN(AutofillManager); | 425 DISALLOW_COPY_AND_ASSIGN(AutofillManager); |
426 }; | 426 }; |
427 | 427 |
428 } // namespace autofill | 428 } // namespace autofill |
429 | 429 |
430 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 430 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
OLD | NEW |