summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-23 01:18:39 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-23 01:18:39 +0000
commit3f9345838d9af871413f7350ca587b0152299e02 (patch)
treeaa6991e1d2edd76e42781795bd1f8e9e79abe566
parent66711f6f7abbf3ed9f0d39e4f497620ab39e79f0 (diff)
downloadchromium_src-3f9345838d9af871413f7350ca587b0152299e02.zip
chromium_src-3f9345838d9af871413f7350ca587b0152299e02.tar.gz
chromium_src-3f9345838d9af871413f7350ca587b0152299e02.tar.bz2
Cleanup: Remove some unneeded webkit/glue headers from chrome.
BUG=46666 TEST=none Review URL: http://codereview.chromium.org/2850021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50562 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/browsing_data_database_helper.cc1
-rw-r--r--chrome/browser/browsing_data_remover.cc4
-rw-r--r--chrome/browser/crash_recovery_browsertest.cc1
-rw-r--r--chrome/browser/plugin_process_host.cc5
-rw-r--r--chrome/browser/plugin_service.h3
-rw-r--r--chrome/browser/profile_import_process_host.h5
-rw-r--r--chrome/common/extensions/extension_l10n_util.h4
-rw-r--r--chrome/common/extensions/extension_l10n_util_unittest.cc3
-rw-r--r--chrome/common/sandbox_policy.cc7
9 files changed, 15 insertions, 18 deletions
diff --git a/chrome/browser/browsing_data_database_helper.cc b/chrome/browser/browsing_data_database_helper.cc
index 27549f5..7c97163 100644
--- a/chrome/browser/browsing_data_database_helper.cc
+++ b/chrome/browser/browsing_data_database_helper.cc
@@ -14,7 +14,6 @@
#include "third_party/WebKit/WebKit/chromium/public/WebCString.h"
#include "third_party/WebKit/WebKit/chromium/public/WebSecurityOrigin.h"
#include "third_party/WebKit/WebKit/chromium/public/WebString.h"
-#include "webkit/glue/webkit_glue.h"
BrowsingDataDatabaseHelper::BrowsingDataDatabaseHelper(Profile* profile)
: tracker_(profile->GetDatabaseTracker()),
diff --git a/chrome/browser/browsing_data_remover.cc b/chrome/browser/browsing_data_remover.cc
index 61a1cb6..329149b 100644
--- a/chrome/browser/browsing_data_remover.cc
+++ b/chrome/browser/browsing_data_remover.cc
@@ -4,6 +4,9 @@
#include "chrome/browser/browsing_data_remover.h"
+#include <map>
+#include <set>
+
#include "base/callback.h"
#include "chrome/browser/chrome_thread.h"
#include "chrome/browser/download/download_manager.h"
@@ -27,7 +30,6 @@
#include "net/http/http_cache.h"
#include "net/url_request/url_request_context.h"
#include "webkit/database/database_tracker.h"
-#include "webkit/glue/password_form.h"
// Done so that we can use PostTask on BrowsingDataRemovers and not have
// BrowsingDataRemover implement RefCounted.
diff --git a/chrome/browser/crash_recovery_browsertest.cc b/chrome/browser/crash_recovery_browsertest.cc
index 08cb32c..b37c1a5 100644
--- a/chrome/browser/crash_recovery_browsertest.cc
+++ b/chrome/browser/crash_recovery_browsertest.cc
@@ -12,7 +12,6 @@
#include "chrome/test/in_process_browser_test.h"
#include "chrome/test/ui_test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "webkit/glue/window_open_disposition.h"
namespace {
diff --git a/chrome/browser/plugin_process_host.cc b/chrome/browser/plugin_process_host.cc
index 12e5b2a..e12a575 100644
--- a/chrome/browser/plugin_process_host.cc
+++ b/chrome/browser/plugin_process_host.cc
@@ -40,11 +40,6 @@
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_context.h"
-#if defined(OS_WIN)
-#include "app/win_util.h"
-#include "webkit/glue/plugins/plugin_constants_win.h"
-#endif
-
#if defined(USE_X11)
#include "gfx/gtk_native_view_id_manager.h"
#endif
diff --git a/chrome/browser/plugin_service.h b/chrome/browser/plugin_service.h
index b20e5ae..c9a695e 100644
--- a/chrome/browser/plugin_service.h
+++ b/chrome/browser/plugin_service.h
@@ -8,9 +8,11 @@
#ifndef CHROME_BROWSER_PLUGIN_SERVICE_H_
#define CHROME_BROWSER_PLUGIN_SERVICE_H_
+#include <string>
#include <vector>
#include "base/basictypes.h"
+#include "base/file_path.h"
#include "base/hash_tables.h"
#include "base/ref_counted.h"
#include "base/singleton.h"
@@ -19,7 +21,6 @@
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
#include "googleurl/src/gurl.h"
-#include "webkit/glue/plugins/webplugininfo.h"
#if defined(OS_WIN)
#include "base/registry.h"
diff --git a/chrome/browser/profile_import_process_host.h b/chrome/browser/profile_import_process_host.h
index 1cb3819..c4d06e7 100644
--- a/chrome/browser/profile_import_process_host.h
+++ b/chrome/browser/profile_import_process_host.h
@@ -18,7 +18,10 @@
#include "chrome/browser/importer/importer_data_types.h"
#include "chrome/browser/importer/profile_writer.h"
#include "ipc/ipc_channel.h"
-#include "webkit/glue/password_form.h"
+
+namespace webkit_glue {
+struct PasswordForm;
+}
// Browser-side host to a profile import process. This class lives only on
// the IO thread. It passes messages back to the |thread_id_| thread through
diff --git a/chrome/common/extensions/extension_l10n_util.h b/chrome/common/extensions/extension_l10n_util.h
index c4586ec..8bd8dc8 100644
--- a/chrome/common/extensions/extension_l10n_util.h
+++ b/chrome/common/extensions/extension_l10n_util.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
//
@@ -11,8 +11,6 @@
#include <string>
#include <vector>
-#include "webkit/glue/resource_type.h"
-
class DictionaryValue;
class Extension;
class ExtensionMessageBundle;
diff --git a/chrome/common/extensions/extension_l10n_util_unittest.cc b/chrome/common/extensions/extension_l10n_util_unittest.cc
index 2314742..aa83e05 100644
--- a/chrome/common/extensions/extension_l10n_util_unittest.cc
+++ b/chrome/common/extensions/extension_l10n_util_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
@@ -16,7 +16,6 @@
#include "chrome/common/extensions/extension_l10n_util.h"
#include "chrome/common/extensions/extension_message_bundle.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "webkit/glue/resource_type.h"
namespace errors = extension_manifest_errors;
namespace keys = extension_manifest_keys;
diff --git a/chrome/common/sandbox_policy.cc b/chrome/common/sandbox_policy.cc
index 6a4a98f..db38a42 100644
--- a/chrome/common/sandbox_policy.cc
+++ b/chrome/common/sandbox_policy.cc
@@ -1,9 +1,11 @@
-// Copyright (c) 2006-2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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/common/sandbox_policy.h"
+#include <string>
+
#include "app/win_util.h"
#include "base/command_line.h"
#include "base/debug_util.h"
@@ -20,7 +22,6 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/common/debug_flags.h"
#include "sandbox/src/sandbox.h"
-#include "webkit/glue/plugins/plugin_list.h"
static sandbox::BrokerServices* g_broker_services = NULL;
@@ -494,4 +495,4 @@ base::ProcessHandle StartProcessWithAccess(CommandLine* cmd_line,
return process;
}
-} // namespace sandbox
+} // namespace sandbox