diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-16 20:02:42 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-16 20:02:42 +0000 |
commit | 7b38a2fd5a9bca974a355b409cf53c25881561b9 (patch) | |
tree | 63e1d1bf298af9be8008674ce0c5ac9238324005 /chrome/browser | |
parent | 81862add7188f848a04aca893b6f595eedb82ffd (diff) | |
download | chromium_src-7b38a2fd5a9bca974a355b409cf53c25881561b9.zip chromium_src-7b38a2fd5a9bca974a355b409cf53c25881561b9.tar.gz chromium_src-7b38a2fd5a9bca974a355b409cf53c25881561b9.tar.bz2 |
Removed unneeded includes of base/time.h.
Review URL: http://codereview.chromium.org/48019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11766 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/bookmarks/bookmark_folder_tree_model_unittest.cc | 1 | ||||
-rw-r--r-- | chrome/browser/bookmarks/bookmark_table_model.cc | 1 | ||||
-rw-r--r-- | chrome/browser/dom_ui/downloads_ui.cc | 3 | ||||
-rw-r--r-- | chrome/browser/download/save_package.h | 1 | ||||
-rw-r--r-- | chrome/browser/history/history.h | 5 | ||||
-rw-r--r-- | chrome/browser/history/visit_tracker.h | 1 | ||||
-rw-r--r-- | chrome/browser/importer/firefox_importer_utils.cc | 1 | ||||
-rw-r--r-- | chrome/browser/importer/importer.cc | 1 | ||||
-rw-r--r-- | chrome/browser/printing/printing_layout_uitest.cc | 4 | ||||
-rw-r--r-- | chrome/browser/safe_browsing/safe_browsing_database_bloom.h | 5 | ||||
-rw-r--r-- | chrome/browser/sessions/tab_restore_service.h | 1 | ||||
-rw-r--r-- | chrome/browser/views/clear_browsing_data.h | 1 | ||||
-rw-r--r-- | chrome/browser/views/tabs/tab_dragging_test.cc | 1 |
13 files changed, 8 insertions, 18 deletions
diff --git a/chrome/browser/bookmarks/bookmark_folder_tree_model_unittest.cc b/chrome/browser/bookmarks/bookmark_folder_tree_model_unittest.cc index 97f4feb..3fb7567 100644 --- a/chrome/browser/bookmarks/bookmark_folder_tree_model_unittest.cc +++ b/chrome/browser/bookmarks/bookmark_folder_tree_model_unittest.cc @@ -3,7 +3,6 @@ // found in the LICENSE file. #include "base/string_util.h" -#include "base/time.h" #include "chrome/browser/bookmarks/bookmark_folder_tree_model.h" #include "chrome/test/testing_profile.h" #include "chrome/views/tree_view.h" diff --git a/chrome/browser/bookmarks/bookmark_table_model.cc b/chrome/browser/bookmarks/bookmark_table_model.cc index a88bb81..a95f898 100644 --- a/chrome/browser/bookmarks/bookmark_table_model.cc +++ b/chrome/browser/bookmarks/bookmark_table_model.cc @@ -7,7 +7,6 @@ #include <limits> #include "base/string_util.h" -#include "base/time.h" #include "base/time_format.h" #include "chrome/browser/bookmarks/bookmark_utils.h" #include "chrome/common/l10n_util.h" diff --git a/chrome/browser/dom_ui/downloads_ui.cc b/chrome/browser/dom_ui/downloads_ui.cc index cf9729a..f8d9515 100644 --- a/chrome/browser/dom_ui/downloads_ui.cc +++ b/chrome/browser/dom_ui/downloads_ui.cc @@ -7,7 +7,6 @@ #include "base/gfx/png_encoder.h" #include "base/string_piece.h" #include "base/thread.h" -#include "base/time.h" #include "base/time_format.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/dom_ui/fileicon_source.h" @@ -23,8 +22,6 @@ #include "grit/browser_resources.h" #include "grit/generated_resources.h" -using base::Time; - // DownloadsUI is accessible from chrome-ui://downloads. static const char kDownloadsHost[] = "downloads"; diff --git a/chrome/browser/download/save_package.h b/chrome/browser/download/save_package.h index deaeca5..447ab67 100644 --- a/chrome/browser/download/save_package.h +++ b/chrome/browser/download/save_package.h @@ -15,7 +15,6 @@ #include "base/gfx/native_widget_types.h" #include "base/hash_tables.h" #include "base/ref_counted.h" -#include "base/time.h" #include "chrome/common/pref_member.h" #include "chrome/browser/download/save_item.h" #include "chrome/browser/download/save_types.h" diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h index 37ade4f..d47f12f 100644 --- a/chrome/browser/history/history.h +++ b/chrome/browser/history/history.h @@ -15,7 +15,6 @@ #include "base/ref_counted.h" #include "base/scoped_ptr.h" #include "base/task.h" -#include "base/time.h" #include "chrome/browser/cancelable_request.h" #include "chrome/browser/history/history_notifications.h" #include "chrome/browser/history/history_types.h" @@ -39,6 +38,10 @@ class Profile; class SkBitmap; struct ThumbnailScore; +namespace base { + class Time; +} + namespace history { class InMemoryHistoryBackend; diff --git a/chrome/browser/history/visit_tracker.h b/chrome/browser/history/visit_tracker.h index db4a59e..d111187 100644 --- a/chrome/browser/history/visit_tracker.h +++ b/chrome/browser/history/visit_tracker.h @@ -9,7 +9,6 @@ #include <map> #include "base/basictypes.h" -#include "base/time.h" #include "chrome/browser/history/history_types.h" namespace history { diff --git a/chrome/browser/importer/firefox_importer_utils.cc b/chrome/browser/importer/firefox_importer_utils.cc index 2d89038..c595659 100644 --- a/chrome/browser/importer/firefox_importer_utils.cc +++ b/chrome/browser/importer/firefox_importer_utils.cc @@ -14,7 +14,6 @@ #include "base/logging.h" #include "base/string_util.h" #include "base/sys_string_conversions.h" -#include "base/time.h" #include "chrome/browser/search_engines/template_url.h" #include "chrome/browser/search_engines/template_url_model.h" #include "chrome/browser/search_engines/template_url_parser.h" diff --git a/chrome/browser/importer/importer.cc b/chrome/browser/importer/importer.cc index 2d3f924..42abf8f 100644 --- a/chrome/browser/importer/importer.cc +++ b/chrome/browser/importer/importer.cc @@ -10,7 +10,6 @@ #include "base/file_util.h" #include "base/gfx/png_encoder.h" #include "base/string_util.h" -#include "base/time.h" #include "chrome/browser/bookmarks/bookmark_model.h" #include "chrome/browser/browser.h" #include "chrome/browser/browser_list.h" diff --git a/chrome/browser/printing/printing_layout_uitest.cc b/chrome/browser/printing/printing_layout_uitest.cc index 10f9b07..c841309 100644 --- a/chrome/browser/printing/printing_layout_uitest.cc +++ b/chrome/browser/printing/printing_layout_uitest.cc @@ -9,7 +9,6 @@ #include "base/gfx/png_decoder.h" #include "base/gfx/png_encoder.h" #include "base/simple_thread.h" -#include "base/time.h" #include "base/win_util.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/gfx/emf.h" @@ -20,9 +19,6 @@ #include "chrome/browser/printing/printing_test.h" #include "net/url_request/url_request_unittest.h" -using base::Time; -using base::TimeDelta; - namespace { const wchar_t* const kGenerateSwitch = L"print-layout-generate"; diff --git a/chrome/browser/safe_browsing/safe_browsing_database_bloom.h b/chrome/browser/safe_browsing/safe_browsing_database_bloom.h index 22b85a8..82d4937 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database_bloom.h +++ b/chrome/browser/safe_browsing/safe_browsing_database_bloom.h @@ -16,12 +16,15 @@ #include "base/lock.h" #include "base/scoped_ptr.h" #include "base/task.h" -#include "base/time.h" #include "chrome/browser/safe_browsing/safe_browsing_database.h" #include "chrome/browser/safe_browsing/safe_browsing_util.h" #include "chrome/common/sqlite_compiled_statement.h" #include "chrome/common/sqlite_utils.h" +namespace base { + class Time; +} + // The reference implementation database using SQLite. class SafeBrowsingDatabaseBloom : public SafeBrowsingDatabase { public: diff --git a/chrome/browser/sessions/tab_restore_service.h b/chrome/browser/sessions/tab_restore_service.h index 2962cf5..b768385 100644 --- a/chrome/browser/sessions/tab_restore_service.h +++ b/chrome/browser/sessions/tab_restore_service.h @@ -9,7 +9,6 @@ #include <vector> #include "base/observer_list.h" -#include "base/time.h" #include "chrome/browser/sessions/base_session_service.h" #include "chrome/browser/sessions/session_id.h" #include "chrome/browser/sessions/session_types.h" diff --git a/chrome/browser/views/clear_browsing_data.h b/chrome/browser/views/clear_browsing_data.h index 24fe15c..02e60d5 100644 --- a/chrome/browser/views/clear_browsing_data.h +++ b/chrome/browser/views/clear_browsing_data.h @@ -5,7 +5,6 @@ #ifndef CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H__ #define CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H__ -#include "base/time.h" #include "chrome/browser/browsing_data_remover.h" #include "chrome/views/combo_box.h" #include "chrome/views/dialog_delegate.h" diff --git a/chrome/browser/views/tabs/tab_dragging_test.cc b/chrome/browser/views/tabs/tab_dragging_test.cc index 919df66..c0471c8 100644 --- a/chrome/browser/views/tabs/tab_dragging_test.cc +++ b/chrome/browser/views/tabs/tab_dragging_test.cc @@ -4,7 +4,6 @@ #include "base/command_line.h" #include "base/file_util.h" -#include "base/time.h" #include "chrome/app/chrome_dll_resource.h" #include "chrome/browser/view_ids.h" #include "chrome/common/chrome_paths.h" |