diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-14 22:27:18 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-14 22:27:18 +0000 |
commit | 686439cad71d7a391214ca1dfaf1e23927b1a43a (patch) | |
tree | 0fc586a435ee820adb73a0ea4b86fdfad0902bf4 /sandbox | |
parent | 6634b7db87117a9773b4f78b9747ff71a9849a3a (diff) | |
download | chromium_src-686439cad71d7a391214ca1dfaf1e23927b1a43a.zip chromium_src-686439cad71d7a391214ca1dfaf1e23927b1a43a.tar.gz chromium_src-686439cad71d7a391214ca1dfaf1e23927b1a43a.tar.bz2 |
Cleanup: Remove unneeded forward declarations in printing, sandbox, and skia.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8538001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109961 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/sandbox_poc/main_ui_window.h | 6 | ||||
-rw-r--r-- | sandbox/src/sandbox.h | 3 | ||||
-rw-r--r-- | sandbox/src/sandbox_policy_base.h | 6 | ||||
-rw-r--r-- | sandbox/src/target_process.h | 6 |
4 files changed, 9 insertions, 12 deletions
diff --git a/sandbox/sandbox_poc/main_ui_window.h b/sandbox/sandbox_poc/main_ui_window.h index 87655e2..c70189a 100644 --- a/sandbox/sandbox_poc/main_ui_window.h +++ b/sandbox/sandbox_poc/main_ui_window.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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 SANDBOX_SANDBOX_POC_MAIN_UI_WINDOW_H__ #include <string> + #include "base/basictypes.h" namespace sandbox { class BrokerServices; -class SandboxFactory; -class TargetProcess; enum ResultCode; } @@ -57,6 +56,7 @@ class MainUIWindow { wchar_t* command_line, int show_command, sandbox::BrokerServices* broker); + private: // The default value DLL name to add to the edit box. static const wchar_t kDefaultDll_[]; diff --git a/sandbox/src/sandbox.h b/sandbox/src/sandbox.h index 92d6c72..bbc4f77 100644 --- a/sandbox/src/sandbox.h +++ b/sandbox/src/sandbox.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -30,7 +30,6 @@ namespace sandbox { class BrokerServices; class ProcessState; -class TargetProcess; class TargetPolicy; class TargetServices; diff --git a/sandbox/src/sandbox_policy_base.h b/sandbox/src/sandbox_policy_base.h index b9afc6e..2f635f5 100644 --- a/sandbox/src/sandbox_policy_base.h +++ b/sandbox/src/sandbox_policy_base.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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,6 +6,7 @@ #define SANDBOX_SRC_SANDBOX_POLICY_BASE_H_ #include <windows.h> + #include <list> #include <vector> @@ -21,9 +22,8 @@ namespace sandbox { -class TargetProcess; -class PolicyRule; class LowLevelPolicy; +class TargetProcess; struct PolicyGlobal; // We act as a policy dispatcher, implementing the handler for the "ping" IPC, diff --git a/sandbox/src/target_process.h b/sandbox/src/target_process.h index a3a8d3b..f20935d 100644 --- a/sandbox/src/target_process.h +++ b/sandbox/src/target_process.h @@ -1,11 +1,11 @@ -// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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 SANDBOX_SRC_TARGET_PROCESS_H__ #define SANDBOX_SRC_TARGET_PROCESS_H__ -#include <Windows.h> +#include <windows.h> #include "base/basictypes.h" #include "sandbox/src/crosscall_server.h" @@ -13,9 +13,7 @@ namespace sandbox { -class BrokerServicesBase; class SharedMemIPCServer; -class BrokerDispatcherBase; class ThreadProvider; // TargetProcess models a target instance (child process). Objects of this |