diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-08 22:43:59 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-08 22:45:31 +0000 |
commit | d4f5204d94316bc21ae4795767380b8effb4bd57 (patch) | |
tree | 95f91b4e8095ac339ff9b33ce651b226e9019f23 /chrome/browser/download | |
parent | bebe14163854e8795e040cc0d8614f879fed0eab (diff) | |
download | chromium_src-d4f5204d94316bc21ae4795767380b8effb4bd57.zip chromium_src-d4f5204d94316bc21ae4795767380b8effb4bd57.tar.gz chromium_src-d4f5204d94316bc21ae4795767380b8effb4bd57.tar.bz2 |
Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resource_bundle.h.
For files that have #include from the list above, the heuristics for determining if the #includes are needed are as follows:
grit -> with a few exceptions, grep for ID[RS]
l10n_util.h -> grep l10n_util::
resource_bundle.h -> egrep
'(GetImageNamed|GetNativeImageNamed|GetRawDataResource|GetLocalizedString|GetImageSkiaNamed|ResourceBundle)'
Review URL: https://codereview.chromium.org/454583002
Cr-Commit-Position: refs/heads/master@{#288450}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288450 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download')
-rw-r--r-- | chrome/browser/download/download_file_picker.cc | 2 | ||||
-rw-r--r-- | chrome/browser/download/download_item_model_unittest.cc | 2 | ||||
-rw-r--r-- | chrome/browser/download/download_status_updater_win.cc | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/download/download_file_picker.cc b/chrome/browser/download/download_file_picker.cc index b1af519..ac734ea 100644 --- a/chrome/browser/download/download_file_picker.cc +++ b/chrome/browser/download/download_file_picker.cc @@ -12,8 +12,6 @@ #include "content/public/browser/download_item.h" #include "content/public/browser/download_manager.h" #include "content/public/browser/web_contents.h" -#include "grit/generated_resources.h" -#include "ui/base/l10n/l10n_util.h" using content::DownloadItem; using content::DownloadManager; diff --git a/chrome/browser/download/download_item_model_unittest.cc b/chrome/browser/download/download_item_model_unittest.cc index 4917747..071d4ec 100644 --- a/chrome/browser/download/download_item_model_unittest.cc +++ b/chrome/browser/download/download_item_model_unittest.cc @@ -14,10 +14,8 @@ #include "base/strings/utf_string_conversions.h" #include "content/public/test/mock_download_item.h" #include "extensions/common/extension.h" -#include "grit/generated_resources.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" -#include "ui/base/l10n/l10n_util.h" #include "ui/base/resource/resource_bundle.h" #include "ui/base/text/bytes_formatting.h" #include "ui/gfx/font_list.h" diff --git a/chrome/browser/download/download_status_updater_win.cc b/chrome/browser/download/download_status_updater_win.cc index 35d82b2..5ab6d8f 100644 --- a/chrome/browser/download/download_status_updater_win.cc +++ b/chrome/browser/download/download_status_updater_win.cc @@ -13,8 +13,6 @@ #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser_iterator.h" #include "chrome/browser/ui/browser_window.h" -#include "grit/generated_resources.h" -#include "ui/base/l10n/l10n_util.h" #include "ui/views/win/hwnd_util.h" namespace { |