diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 03:49:38 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 03:49:38 +0000 |
commit | 864b1368516c110605addd725ad33613047f94b2 (patch) | |
tree | 0f4d802f08b43df658ec45df351089e108f63b1b /chrome/common | |
parent | 2803418949500717c4cbd1cb27fec8b03485e77a (diff) | |
download | chromium_src-864b1368516c110605addd725ad33613047f94b2.zip chromium_src-864b1368516c110605addd725ad33613047f94b2.tar.gz chromium_src-864b1368516c110605addd725ad33613047f94b2.tar.bz2 |
FBTF: Remove unneeded headers from base/ (part 6)
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3093013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56641 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/child_process_host.h | 3 | ||||
-rw-r--r-- | chrome/common/chrome_paths_internal.h | 5 | ||||
-rw-r--r-- | chrome/common/extensions/extension_file_util.h | 4 | ||||
-rw-r--r-- | chrome/common/pepper_plugin_registry.h | 1 | ||||
-rw-r--r-- | chrome/common/sandbox_init_wrapper_mac.cc | 3 | ||||
-rw-r--r-- | chrome/common/sandbox_mac.h | 5 | ||||
-rw-r--r-- | chrome/common/sandbox_mac_unittest_helper.mm | 1 | ||||
-rw-r--r-- | chrome/common/sandbox_policy.h | 4 | ||||
-rw-r--r-- | chrome/common/utility_messages.cc | 1 | ||||
-rw-r--r-- | chrome/common/utility_messages.h | 2 | ||||
-rw-r--r-- | chrome/common/web_resource/web_resource_unpacker.h | 6 | ||||
-rw-r--r-- | chrome/common/zip.h | 2 |
12 files changed, 18 insertions, 19 deletions
diff --git a/chrome/common/child_process_host.h b/chrome/common/child_process_host.h index 7423a42..8eb050b 100644 --- a/chrome/common/child_process_host.h +++ b/chrome/common/child_process_host.h @@ -15,12 +15,12 @@ #endif // defined(OS_WIN) #include "base/basictypes.h" -#include "base/file_path.h" #include "base/scoped_ptr.h" #include "chrome/common/notification_type.h" #include "ipc/ipc_channel.h" class CommandLine; +class FilePath; namespace IPC { class Message; @@ -123,4 +123,3 @@ class ChildProcessHost : public IPC::Channel::Listener { }; #endif // CHROME_COMMON_CHILD_PROCESS_HOST_H_ - diff --git a/chrome/common/chrome_paths_internal.h b/chrome/common/chrome_paths_internal.h index cddb88f..38fbac2 100644 --- a/chrome/common/chrome_paths_internal.h +++ b/chrome/common/chrome_paths_internal.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 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. @@ -7,7 +7,8 @@ #pragma once #include "build/build_config.h" -#include "base/file_path.h" + +class FilePath; namespace chrome { diff --git a/chrome/common/extensions/extension_file_util.h b/chrome/common/extensions/extension_file_util.h index cfa69cc..a938a24 100644 --- a/chrome/common/extensions/extension_file_util.h +++ b/chrome/common/extensions/extension_file_util.h @@ -8,10 +8,10 @@ #include <string> -#include "base/file_path.h" #include "chrome/common/extensions/extension.h" class ExtensionMessageBundle; +class FilePath; // Utilties for manipulating the on-disk storage of extensions. namespace extension_file_util { @@ -72,6 +72,6 @@ bool CheckForIllegalFilenames(const FilePath& extension_path, // Get a relative file path from a chrome-extension:// URL. FilePath ExtensionURLToRelativeFilePath(const GURL& url); -} // extension_file_util +} // namespace extension_file_util #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_FILE_UTIL_H_ diff --git a/chrome/common/pepper_plugin_registry.h b/chrome/common/pepper_plugin_registry.h index 4c212e5..562d26c 100644 --- a/chrome/common/pepper_plugin_registry.h +++ b/chrome/common/pepper_plugin_registry.h @@ -10,6 +10,7 @@ #include <map> #include <vector> +#include "base/file_path.h" #include "webkit/glue/plugins/pepper_plugin_module.h" struct PepperPluginInfo { diff --git a/chrome/common/sandbox_init_wrapper_mac.cc b/chrome/common/sandbox_init_wrapper_mac.cc index 79cf08f..aaa69eb 100644 --- a/chrome/common/sandbox_init_wrapper_mac.cc +++ b/chrome/common/sandbox_init_wrapper_mac.cc @@ -1,10 +1,11 @@ -// 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. #include "chrome/common/sandbox_init_wrapper.h" #include "base/command_line.h" +#include "base/file_path.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/sandbox_mac.h" diff --git a/chrome/common/sandbox_mac.h b/chrome/common/sandbox_mac.h index cc20203..61a02fc 100644 --- a/chrome/common/sandbox_mac.h +++ b/chrome/common/sandbox_mac.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. @@ -6,12 +6,11 @@ #define CHROME_COMMON_SANDBOX_MAC_H_ #pragma once -#include "base/file_path.h" +class FilePath; namespace sandbox { enum SandboxProcessType { - SANDBOX_TYPE_FIRST_TYPE, // Placeholder to ease iteration. SANDBOX_TYPE_RENDERER = SANDBOX_TYPE_FIRST_TYPE, diff --git a/chrome/common/sandbox_mac_unittest_helper.mm b/chrome/common/sandbox_mac_unittest_helper.mm index 5b421c6..007530e 100644 --- a/chrome/common/sandbox_mac_unittest_helper.mm +++ b/chrome/common/sandbox_mac_unittest_helper.mm @@ -10,6 +10,7 @@ extern "C" { #include <map> +#include "base/file_path.h" #include "base/logging.h" #include "base/scoped_ptr.h" #include "chrome/common/sandbox_mac.h" diff --git a/chrome/common/sandbox_policy.h b/chrome/common/sandbox_policy.h index ce8777d..04a9b88 100644 --- a/chrome/common/sandbox_policy.h +++ b/chrome/common/sandbox_policy.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 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. @@ -7,9 +7,9 @@ #pragma once #include "base/process.h" -#include "base/file_path.h" class CommandLine; +class FilePath; namespace sandbox { diff --git a/chrome/common/utility_messages.cc b/chrome/common/utility_messages.cc index 4c8e567..90b0a29 100644 --- a/chrome/common/utility_messages.cc +++ b/chrome/common/utility_messages.cc @@ -4,6 +4,7 @@ #include "chrome/common/utility_messages.h" +#include "base/values.h" #define MESSAGES_INTERNAL_IMPL_FILE \ "chrome/common/utility_messages_internal.h" #include "ipc/ipc_message_impl_macros.h" diff --git a/chrome/common/utility_messages.h b/chrome/common/utility_messages.h index 3094963..49bc9ce 100644 --- a/chrome/common/utility_messages.h +++ b/chrome/common/utility_messages.h @@ -9,8 +9,6 @@ #include <string> #include "base/basictypes.h" -#include "base/file_path.h" -#include "base/values.h" #include "chrome/common/common_param_traits.h" #include "chrome/common/extensions/update_manifest.h" #include "chrome/common/indexed_db_param_traits.h" diff --git a/chrome/common/web_resource/web_resource_unpacker.h b/chrome/common/web_resource/web_resource_unpacker.h index 3b89a61..c49f2fa 100644 --- a/chrome/common/web_resource/web_resource_unpacker.h +++ b/chrome/common/web_resource/web_resource_unpacker.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. @@ -15,7 +15,7 @@ #include <string> -#include "base/file_path.h" +#include "base/basictypes.h" #include "base/scoped_ptr.h" class DictionaryValue; @@ -54,5 +54,3 @@ class WebResourceUnpacker { }; #endif // CHROME_COMMON_WEB_RESOURCE_WEB_RESOURCE_UNPACKER_H_ - - diff --git a/chrome/common/zip.h b/chrome/common/zip.h index eaec297..069d150 100644 --- a/chrome/common/zip.h +++ b/chrome/common/zip.h @@ -6,7 +6,7 @@ #define CHROME_COMMON_ZIP_H_ #pragma once -#include "base/file_path.h" +class FilePath; // Zip the contents of src_dir into dest_file. src_path must be a directory. // An entry will *not* be created in the zip for the root folder -- children |