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

Side by Side Diff: chrome/browser/ui/autofill/chrome_autofill_client.h

Issue 780423002: Don't deref stale AutofillMetrics pointer in AutofillCCInfoBarDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: static-ify Created 6 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
(...skipping 28 matching lines...) Expand all
39 39
40 // Called when the tab corresponding to |this| instance is activated. 40 // Called when the tab corresponding to |this| instance is activated.
41 void TabActivated(); 41 void TabActivated();
42 42
43 // AutofillClient: 43 // AutofillClient:
44 PersonalDataManager* GetPersonalDataManager() override; 44 PersonalDataManager* GetPersonalDataManager() override;
45 scoped_refptr<AutofillWebDataService> GetDatabase() override; 45 scoped_refptr<AutofillWebDataService> GetDatabase() override;
46 PrefService* GetPrefs() override; 46 PrefService* GetPrefs() override;
47 void HideRequestAutocompleteDialog() override; 47 void HideRequestAutocompleteDialog() override;
48 void ShowAutofillSettings() override; 48 void ShowAutofillSettings() override;
49 void ConfirmSaveCreditCard(const AutofillMetrics& metric_logger, 49 void ConfirmSaveCreditCard(const base::Closure& save_card_callback) override;
50 const base::Closure& save_card_callback) override;
51 bool HasCreditCardScanFeature() override; 50 bool HasCreditCardScanFeature() override;
52 void ScanCreditCard(const CreditCardScanCallback& callback) override; 51 void ScanCreditCard(const CreditCardScanCallback& callback) override;
53 void ShowRequestAutocompleteDialog(const FormData& form, 52 void ShowRequestAutocompleteDialog(const FormData& form,
54 const GURL& source_url, 53 const GURL& source_url,
55 const ResultCallback& callback) override; 54 const ResultCallback& callback) override;
56 void ShowAutofillPopup( 55 void ShowAutofillPopup(
57 const gfx::RectF& element_bounds, 56 const gfx::RectF& element_bounds,
58 base::i18n::TextDirection text_direction, 57 base::i18n::TextDirection text_direction,
59 const std::vector<base::string16>& values, 58 const std::vector<base::string16>& values,
60 const std::vector<base::string16>& labels, 59 const std::vector<base::string16>& labels,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // scoped_ptr. 114 // scoped_ptr.
116 AutofillKeystoneBridgeWrapper* bridge_wrapper_; 115 AutofillKeystoneBridgeWrapper* bridge_wrapper_;
117 #endif // defined(OS_MACOSX) && !defined(OS_IOS) 116 #endif // defined(OS_MACOSX) && !defined(OS_IOS)
118 117
119 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); 118 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient);
120 }; 119 };
121 120
122 } // namespace autofill 121 } // namespace autofill
123 122
124 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 123 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_cc_infobar_delegate_unittest.cc ('k') | chrome/browser/ui/autofill/chrome_autofill_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698