diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 18:47:09 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 18:47:09 +0000 |
commit | 4d022ff503f77992fc54377b6fab55832ba5204b (patch) | |
tree | cf102f60a4a6c9b9e749ab300b2872445d97efef /chrome/browser/search_engines | |
parent | 471422037fc09b24f8ca08164e041c26a5e764e8 (diff) | |
download | chromium_src-4d022ff503f77992fc54377b6fab55832ba5204b.zip chromium_src-4d022ff503f77992fc54377b6fab55832ba5204b.tar.gz chromium_src-4d022ff503f77992fc54377b6fab55832ba5204b.tar.bz2 |
Remove some #includes where possible.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/335002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29915 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/search_engines')
5 files changed, 15 insertions, 32 deletions
diff --git a/chrome/browser/search_engines/template_url.h b/chrome/browser/search_engines/template_url.h index 5abcb14..2d8228b 100644 --- a/chrome/browser/search_engines/template_url.h +++ b/chrome/browser/search_engines/template_url.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -7,7 +7,6 @@ #include <vector> -#include "base/basictypes.h" #include "base/time.h" #include "googleurl/src/gurl.h" diff --git a/chrome/browser/search_engines/template_url_model.cc b/chrome/browser/search_engines/template_url_model.cc index c4c6103..2021841 100644 --- a/chrome/browser/search_engines/template_url_model.cc +++ b/chrome/browser/search_engines/template_url_model.cc @@ -1,33 +1,24 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/search_engines/template_url_model.h" -#include <algorithm> #include "app/l10n_util.h" -#include "base/logging.h" #include "base/stl_util-inl.h" -#include "base/string_util.h" -#include "chrome/browser/browser_process.h" +#include "base/utf_string_conversions.h" #include "chrome/browser/google_url_tracker.h" #include "chrome/browser/history/history.h" #include "chrome/browser/net/url_fixer_upper.h" #include "chrome/browser/profile.h" #include "chrome/browser/rlz/rlz.h" -#include "chrome/browser/search_engines/template_url.h" #include "chrome/browser/search_engines/template_url_prepopulate_data.h" #include "chrome/common/notification_service.h" #include "chrome/common/pref_names.h" #include "chrome/common/pref_service.h" #include "chrome/common/url_constants.h" -#include "googleurl/src/gurl.h" -#include "googleurl/src/url_parse.h" -#include "grit/locale_settings.h" #include "net/base/net_util.h" -#include "unicode/rbbi.h" -#include "unicode/uchar.h" using base::Time; diff --git a/chrome/browser/search_engines/template_url_model.h b/chrome/browser/search_engines/template_url_model.h index c0e169b..a1b406a 100644 --- a/chrome/browser/search_engines/template_url_model.h +++ b/chrome/browser/search_engines/template_url_model.h @@ -1,25 +1,24 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_TEMPLATE_URL_MODEL_H__ #define CHROME_BROWSER_TEMPLATE_URL_MODEL_H__ -#include <map> -#include <string> -#include <vector> +#include <set> #include "base/observer_list.h" -#include "chrome/browser/history/history_notifications.h" -#include "chrome/browser/history/history_types.h" +#include "base/scoped_ptr.h" #include "chrome/browser/webdata/web_data_service.h" #include "chrome/common/notification_registrar.h" +#include "testing/gtest/include/gtest/gtest_prod.h" -class GURL; class PrefService; class Profile; -class TemplateURL; -class TemplateURLModelTest; + +namespace history { +struct URLVisitedDetails; +} // TemplateURLModel is the backend for keywords. It's used by // KeywordAutocomplete. diff --git a/chrome/browser/search_engines/template_url_model_unittest.cc b/chrome/browser/search_engines/template_url_model_unittest.cc index 2c4d07c..3d4b5e9 100644 --- a/chrome/browser/search_engines/template_url_model_unittest.cc +++ b/chrome/browser/search_engines/template_url_model_unittest.cc @@ -1,15 +1,11 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "base/file_util.h" #include "base/path_service.h" -#include "base/string_util.h" -#include "chrome/browser/search_engines/template_url.h" -#include "chrome/browser/search_engines/template_url_model.h" -#include "chrome/common/pref_service.h" +#include "base/thread.h" +#include "chrome/browser/webdata/web_database.h" #include "chrome/test/testing_profile.h" -#include "googleurl/src/gurl.h" #include "testing/gtest/include/gtest/gtest.h" using base::Time; diff --git a/chrome/browser/search_engines/template_url_table_model.cc b/chrome/browser/search_engines/template_url_table_model.cc index 4b9663f..5007758 100644 --- a/chrome/browser/search_engines/template_url_table_model.cc +++ b/chrome/browser/search_engines/template_url_table_model.cc @@ -8,13 +8,11 @@ #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "app/table_model_observer.h" +#include "base/stl_util-inl.h" #include "chrome/browser/favicon_service.h" #include "chrome/browser/profile.h" -#include "chrome/browser/search_engines/template_url.h" -#include "chrome/browser/search_engines/template_url_model.h" #include "grit/app_resources.h" #include "grit/generated_resources.h" -#include "third_party/skia/include/core/SkBitmap.h" // Group IDs used by TemplateURLTableModel. static const int kMainGroupID = 0; |