Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Side by Side Diff: components/autofill/core/browser/autofill_manager.h

Issue 910043002: Add checkbox to card unmasking prompt (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix dbg compile Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc ('k') | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698