| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include "base/string16.h" |
| 10 | |
| 11 #include "chrome/browser/tab_contents/infobar_delegate.h" | 10 #include "chrome/browser/tab_contents/infobar_delegate.h" |
| 12 | 11 |
| 13 class AutoFillManager; | 12 class AutoFillManager; |
| 14 class SkBitmap; | 13 class SkBitmap; |
| 15 class TabContents; | 14 class TabContents; |
| 16 | 15 |
| 17 // An InfoBar delegate that enables the user to allow or deny storing credit | 16 // An InfoBar delegate that enables the user to allow or deny storing credit |
| 18 // card information gathered from a form submission. | 17 // card information gathered from a form submission. |
| 19 class AutoFillCCInfoBarDelegate : public ConfirmInfoBarDelegate { | 18 class AutoFillCCInfoBarDelegate : public ConfirmInfoBarDelegate { |
| 20 public: | 19 public: |
| (...skipping 24 matching lines...) Expand all Loading... |
| 45 } | 44 } |
| 46 | 45 |
| 47 private: | 46 private: |
| 48 // The AutoFillManager that initiated this InfoBar. | 47 // The AutoFillManager that initiated this InfoBar. |
| 49 AutoFillManager* host_; | 48 AutoFillManager* host_; |
| 50 | 49 |
| 51 DISALLOW_COPY_AND_ASSIGN(AutoFillCCInfoBarDelegate); | 50 DISALLOW_COPY_AND_ASSIGN(AutoFillCCInfoBarDelegate); |
| 52 }; | 51 }; |
| 53 | 52 |
| 54 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_ | 53 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_ |
| OLD | NEW |