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

Side by Side Diff: chrome/browser/autofill/autofill_cc_infobar_delegate.h

Issue 655433004: Get rid of unnecessary forward declarations in components/autofill/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated Ilya's review comments Created 6 years, 2 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
« no previous file with comments | « no previous file | components/autofill/content/browser/content_autofill_driver.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "components/autofill/core/browser/autofill_metrics.h" 13 #include "components/autofill/core/browser/autofill_metrics.h"
14 #include "components/infobars/core/confirm_infobar_delegate.h" 14 #include "components/infobars/core/confirm_infobar_delegate.h"
15 #include "ui/base/window_open_disposition.h" 15 #include "ui/base/window_open_disposition.h"
16 16
17 class CreditCard; 17 class CreditCard;
18 class PersonalDataManager; 18 class PersonalDataManager;
19 class InfoBarService;
19 20
20 namespace autofill { 21 namespace autofill {
21 22
22 // An InfoBar delegate that enables the user to allow or deny storing credit 23 // An InfoBar delegate that enables the user to allow or deny storing credit
23 // card information gathered from a form submission. 24 // card information gathered from a form submission.
24 class AutofillCCInfoBarDelegate : public ConfirmInfoBarDelegate { 25 class AutofillCCInfoBarDelegate : public ConfirmInfoBarDelegate {
25 public: 26 public:
26 // Creates an autofill credit card infobar and delegate and adds the infobar 27 // Creates an autofill credit card infobar and delegate and adds the infobar
27 // to |infobar_service|. 28 // to |infobar_service|.
28 static void Create(InfoBarService* infobar_service, 29 static void Create(InfoBarService* infobar_service,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 bool had_user_interaction_; 70 bool had_user_interaction_;
70 71
71 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, CreditCardInfoBar); 72 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, CreditCardInfoBar);
72 73
73 DISALLOW_COPY_AND_ASSIGN(AutofillCCInfoBarDelegate); 74 DISALLOW_COPY_AND_ASSIGN(AutofillCCInfoBarDelegate);
74 }; 75 };
75 76
76 } // namespace autofill 77 } // namespace autofill
77 78
78 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_ 79 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | components/autofill/content/browser/content_autofill_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698