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

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

Issue 6122006: Cleanup: Remove unneeded includes of pref_names.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | Annotate | Revision Log
OLDNEW
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 #include "chrome/browser/autofill/autofill_cc_infobar_delegate.h" 5 #include "chrome/browser/autofill/autofill_cc_infobar_delegate.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "chrome/browser/autofill/autofill_cc_infobar.h" 10 #include "chrome/browser/autofill/autofill_cc_infobar.h"
11 #include "chrome/browser/autofill/autofill_manager.h" 11 #include "chrome/browser/autofill/autofill_manager.h"
12 #include "chrome/browser/browser_list.h" 12 #include "chrome/browser/browser_list.h"
13 #include "chrome/browser/prefs/pref_service.h" 13 #include "chrome/browser/prefs/pref_service.h"
14 #include "chrome/browser/tab_contents/tab_contents.h" 14 #include "chrome/browser/tab_contents/tab_contents.h"
15 #include "chrome/browser/tab_contents/tab_contents_delegate.h" 15 #include "chrome/browser/tab_contents/tab_contents_delegate.h"
16 #include "chrome/common/pref_names.h"
17 #include "grit/chromium_strings.h" 16 #include "grit/chromium_strings.h"
18 #include "grit/generated_resources.h" 17 #include "grit/generated_resources.h"
19 #include "grit/theme_resources.h" 18 #include "grit/theme_resources.h"
20 #include "third_party/skia/include/core/SkBitmap.h" 19 #include "third_party/skia/include/core/SkBitmap.h"
21 20
22 AutoFillCCInfoBarDelegate::AutoFillCCInfoBarDelegate(TabContents* tab_contents, 21 AutoFillCCInfoBarDelegate::AutoFillCCInfoBarDelegate(TabContents* tab_contents,
23 AutoFillManager* host) 22 AutoFillManager* host)
24 : ConfirmInfoBarDelegate(tab_contents), 23 : ConfirmInfoBarDelegate(tab_contents),
25 host_(host) { 24 host_(host) {
26 } 25 }
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 99
101 #if defined(OS_WIN) 100 #if defined(OS_WIN)
102 InfoBar* AutoFillCCInfoBarDelegate::CreateInfoBar() { 101 InfoBar* AutoFillCCInfoBarDelegate::CreateInfoBar() {
103 return CreateAutofillCcInfoBar(this); 102 return CreateAutofillCcInfoBar(this);
104 } 103 }
105 #endif // defined(OS_WIN) 104 #endif // defined(OS_WIN)
106 105
107 InfoBarDelegate::Type AutoFillCCInfoBarDelegate::GetInfoBarType() { 106 InfoBarDelegate::Type AutoFillCCInfoBarDelegate::GetInfoBarType() {
108 return PAGE_ACTION_TYPE; 107 return PAGE_ACTION_TYPE;
109 } 108 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_browsertest.cc ('k') | chrome/browser/autofill/autofill_cc_infobar_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698