summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--printing/emf_win.h2
-rw-r--r--printing/metafile.h1
-rw-r--r--printing/pdf_metafile_cg_mac.h1
-rw-r--r--printing/printed_document.h4
-rw-r--r--printing/printed_pages_source.h2
-rw-r--r--printing/printing_context_no_system_dialog.h3
-rw-r--r--sandbox/sandbox_poc/main_ui_window.h6
-rw-r--r--sandbox/src/sandbox.h3
-rw-r--r--sandbox/src/sandbox_policy_base.h6
-rw-r--r--sandbox/src/target_process.h6
-rw-r--r--skia/ext/platform_device.h10
-rw-r--r--skia/ext/vector_platform_device_skia.h3
12 files changed, 14 insertions, 33 deletions
diff --git a/printing/emf_win.h b/printing/emf_win.h
index f32e184..1d10687 100644
--- a/printing/emf_win.h
+++ b/printing/emf_win.h
@@ -6,6 +6,7 @@
#define PRINTING_EMF_WIN_H_
#include <windows.h>
+
#include <vector>
#include "base/basictypes.h"
@@ -15,7 +16,6 @@
class FilePath;
namespace gfx {
-class Point;
class Rect;
class Size;
}
diff --git a/printing/metafile.h b/printing/metafile.h
index 99eb185..8720f3a 100644
--- a/printing/metafile.h
+++ b/printing/metafile.h
@@ -21,7 +21,6 @@
class FilePath;
namespace gfx {
-class Point;
class Rect;
class Size;
}
diff --git a/printing/pdf_metafile_cg_mac.h b/printing/pdf_metafile_cg_mac.h
index 23c00c2..f6fcd26 100644
--- a/printing/pdf_metafile_cg_mac.h
+++ b/printing/pdf_metafile_cg_mac.h
@@ -19,7 +19,6 @@ class FilePath;
namespace gfx {
class Rect;
class Size;
-class Point;
}
namespace printing {
diff --git a/printing/printed_document.h b/printing/printed_document.h
index 4fe415b..7233df5 100644
--- a/printing/printed_document.h
+++ b/printing/printed_document.h
@@ -17,10 +17,6 @@
class FilePath;
class MessageLoop;
-namespace gfx {
-class Font;
-}
-
namespace printing {
class Metafile;
diff --git a/printing/printed_pages_source.h b/printing/printed_pages_source.h
index 3af916b..0f90b36 100644
--- a/printing/printed_pages_source.h
+++ b/printing/printed_pages_source.h
@@ -9,8 +9,6 @@
namespace printing {
-class PrintedDocument;
-
// Source of printed pages.
class PrintedPagesSource {
public:
diff --git a/printing/printing_context_no_system_dialog.h b/printing/printing_context_no_system_dialog.h
index 0f9316d..5200b8d 100644
--- a/printing/printing_context_no_system_dialog.h
+++ b/printing/printing_context_no_system_dialog.h
@@ -15,8 +15,6 @@ class DictionaryValue;
namespace printing {
-class Metafile;
-
class PRINTING_EXPORT PrintingContextNoSystemDialog : public PrintingContext {
public:
explicit PrintingContextNoSystemDialog(const std::string& app_locale);
@@ -47,4 +45,3 @@ class PRINTING_EXPORT PrintingContextNoSystemDialog : public PrintingContext {
} // namespace printing
#endif // PRINTING_PRINTING_CONTEXT_NO_SYSTEM_DIALOG_H_
-
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
diff --git a/skia/ext/platform_device.h b/skia/ext/platform_device.h
index 3973f8a..741d2e4 100644
--- a/skia/ext/platform_device.h
+++ b/skia/ext/platform_device.h
@@ -13,17 +13,15 @@
#include <vector>
#endif
-#include "third_party/skia/include/core/SkPreConfig.h"
-#include "third_party/skia/include/core/SkDevice.h"
#include "third_party/skia/include/core/SkColor.h"
+#include "third_party/skia/include/core/SkDevice.h"
+#include "third_party/skia/include/core/SkPreConfig.h"
class SkMatrix;
class SkMetaData;
class SkPath;
class SkRegion;
-struct SkIRect;
-
#if defined(OS_LINUX) || defined(OS_OPENBSD) || defined(OS_FREEBSD) \
|| defined(OS_SUN)
typedef struct _cairo cairo_t;
@@ -73,7 +71,7 @@ SK_API PlatformDevice* GetPlatformDevice(SkDevice* device);
#if defined(OS_WIN)
// Initializes the default settings and colors in a device context.
SK_API void InitializeDC(HDC context);
-#elif defined (OS_MACOSX)
+#elif defined(OS_MACOSX)
// Returns the CGContext that backing the SkDevice. Forwards to the bound
// PlatformDevice. Returns NULL if no PlatformDevice is bound.
SK_API CGContextRef GetBitmapContext(SkDevice* device);
@@ -179,4 +177,4 @@ class SK_API PlatformDevice {
} // namespace skia
-#endif
+#endif // SKIA_EXT_PLATFORM_DEVICE_H_
diff --git a/skia/ext/vector_platform_device_skia.h b/skia/ext/vector_platform_device_skia.h
index 9cdbac2..e142413 100644
--- a/skia/ext/vector_platform_device_skia.h
+++ b/skia/ext/vector_platform_device_skia.h
@@ -13,10 +13,7 @@
#include "third_party/skia/include/core/SkTScopedPtr.h"
#include "third_party/skia/include/pdf/SkPDFDevice.h"
-class SkClipStack;
class SkMatrix;
-struct SkIRect;
-struct SkRect;
namespace skia {