summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-26 23:08:24 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-26 23:08:24 +0000
commit32b76eff6f630b9bcc0fc3f3bad826f3d1217dda (patch)
treea5687726e4f145c715c73cbbff23e88ac2192eb9 /skia
parent7cf4d5505378a983947d8c989841f1f378f19cde (diff)
downloadchromium_src-32b76eff6f630b9bcc0fc3f3bad826f3d1217dda.zip
chromium_src-32b76eff6f630b9bcc0fc3f3bad826f3d1217dda.tar.gz
chromium_src-32b76eff6f630b9bcc0fc3f3bad826f3d1217dda.tar.bz2
`#pragma once` for app, base, chrome, gfx, ipc, net, skia, views
BUG=50273 TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux TBR: erg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r--skia/config/SkUserConfig.h1
-rw-r--r--skia/config/win/stdint.h1
-rw-r--r--skia/ext/SkFontHost_fontconfig_control.h1
-rw-r--r--skia/ext/SkFontHost_fontconfig_direct.h1
-rw-r--r--skia/ext/SkFontHost_fontconfig_impl.h1
-rw-r--r--skia/ext/SkFontHost_fontconfig_ipc.h1
-rw-r--r--skia/ext/bitmap_platform_device.h1
-rw-r--r--skia/ext/bitmap_platform_device_linux.h1
-rw-r--r--skia/ext/bitmap_platform_device_mac.h1
-rw-r--r--skia/ext/bitmap_platform_device_win.h1
-rw-r--r--skia/ext/canvas_paint.h1
-rw-r--r--skia/ext/canvas_paint_linux.h1
-rw-r--r--skia/ext/canvas_paint_mac.h1
-rw-r--r--skia/ext/canvas_paint_win.h1
-rw-r--r--skia/ext/convolver.h1
-rw-r--r--skia/ext/image_operations.h1
-rw-r--r--skia/ext/platform_canvas.h1
-rw-r--r--skia/ext/platform_device.h1
-rw-r--r--skia/ext/platform_device_linux.h1
-rw-r--r--skia/ext/platform_device_mac.h1
-rw-r--r--skia/ext/platform_device_win.h1
-rw-r--r--skia/ext/skia_utils_mac.h1
-rw-r--r--skia/ext/skia_utils_win.h1
-rw-r--r--skia/ext/vector_canvas.h1
-rw-r--r--skia/ext/vector_platform_device.h1
-rw-r--r--skia/ext/vector_platform_device_linux.h1
-rw-r--r--skia/ext/vector_platform_device_win.h1
27 files changed, 27 insertions, 0 deletions
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h
index a51b2fa..879c021 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -16,6 +16,7 @@
#ifndef SkUserConfig_DEFINED
#define SkUserConfig_DEFINED
+#pragma once
/* SkTypes.h, the root of the public header files, does the following trick:
diff --git a/skia/config/win/stdint.h b/skia/config/win/stdint.h
index a37ac78..c95155f 100644
--- a/skia/config/win/stdint.h
+++ b/skia/config/win/stdint.h
@@ -8,6 +8,7 @@
#ifndef SKIA_CONFIG_WIN_STDINT_H_
#define SKIA_CONFIG_WIN_STDINT_H_
+#pragma once
#if !defined(_MSC_VER)
#error This file should only be included when compiling with MSVC.
diff --git a/skia/ext/SkFontHost_fontconfig_control.h b/skia/ext/SkFontHost_fontconfig_control.h
index 2af6c2e..f9f0146 100644
--- a/skia/ext/SkFontHost_fontconfig_control.h
+++ b/skia/ext/SkFontHost_fontconfig_control.h
@@ -17,6 +17,7 @@
#ifndef FontConfigControl_DEFINED
#define FontConfigControl_DEFINED
+#pragma once
// http://code.google.com/p/chromium/wiki/LinuxSandboxIPC
diff --git a/skia/ext/SkFontHost_fontconfig_direct.h b/skia/ext/SkFontHost_fontconfig_direct.h
index 9000292..8606523 100644
--- a/skia/ext/SkFontHost_fontconfig_direct.h
+++ b/skia/ext/SkFontHost_fontconfig_direct.h
@@ -17,6 +17,7 @@
#ifndef FontConfigDirect_DEFINED
#define FontConfigDirect_DEFINED
+#pragma once
#include <map>
#include <string>
diff --git a/skia/ext/SkFontHost_fontconfig_impl.h b/skia/ext/SkFontHost_fontconfig_impl.h
index cc8dce8..c34f3d9 100644
--- a/skia/ext/SkFontHost_fontconfig_impl.h
+++ b/skia/ext/SkFontHost_fontconfig_impl.h
@@ -23,6 +23,7 @@
#ifndef FontConfigInterface_DEFINED
#define FontConfigInterface_DEFINED
+#pragma once
#include <string>
diff --git a/skia/ext/SkFontHost_fontconfig_ipc.h b/skia/ext/SkFontHost_fontconfig_ipc.h
index 6f0c052..aacec8c 100644
--- a/skia/ext/SkFontHost_fontconfig_ipc.h
+++ b/skia/ext/SkFontHost_fontconfig_ipc.h
@@ -17,6 +17,7 @@
#ifndef FontConfigIPC_DEFINED
#define FontConfigIPC_DEFINED
+#pragma once
// http://code.google.com/p/chromium/wiki/LinuxSandboxIPC
diff --git a/skia/ext/bitmap_platform_device.h b/skia/ext/bitmap_platform_device.h
index f33a809..69bf407 100644
--- a/skia/ext/bitmap_platform_device.h
+++ b/skia/ext/bitmap_platform_device.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_BITMAP_PLATFORM_DEVICE_H_
#define SKIA_EXT_BITMAP_PLATFORM_DEVICE_H_
+#pragma once
// This file provides an easy way to include the appropriate
// BitmapPlatformDevice header file for your platform.
diff --git a/skia/ext/bitmap_platform_device_linux.h b/skia/ext/bitmap_platform_device_linux.h
index c2bcdb6..172a0f1 100644
--- a/skia/ext/bitmap_platform_device_linux.h
+++ b/skia/ext/bitmap_platform_device_linux.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_BITMAP_PLATFORM_DEVICE_LINUX_H_
#define SKIA_EXT_BITMAP_PLATFORM_DEVICE_LINUX_H_
+#pragma once
#include "base/ref_counted.h"
#include "skia/ext/platform_device_linux.h"
diff --git a/skia/ext/bitmap_platform_device_mac.h b/skia/ext/bitmap_platform_device_mac.h
index 7f1be1e..a775a08 100644
--- a/skia/ext/bitmap_platform_device_mac.h
+++ b/skia/ext/bitmap_platform_device_mac.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_BITMAP_PLATFORM_DEVICE_MAC_H_
#define SKIA_EXT_BITMAP_PLATFORM_DEVICE_MAC_H_
+#pragma once
#include "skia/ext/platform_device_mac.h"
diff --git a/skia/ext/bitmap_platform_device_win.h b/skia/ext/bitmap_platform_device_win.h
index 7093ff1..059b600 100644
--- a/skia/ext/bitmap_platform_device_win.h
+++ b/skia/ext/bitmap_platform_device_win.h
@@ -4,6 +4,7 @@
#ifndef SKIA_BITMAP_PLATFORM_DEVICE_WIN_H_
#define SKIA_BITMAP_PLATFORM_DEVICE_WIN_H_
+#pragma once
#include "skia/ext/platform_device_win.h"
diff --git a/skia/ext/canvas_paint.h b/skia/ext/canvas_paint.h
index 3ae7a26..de7c244 100644
--- a/skia/ext/canvas_paint.h
+++ b/skia/ext/canvas_paint.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_CANVAS_PAINT_H_
#define SKIA_EXT_CANVAS_PAINT_H_
+#pragma once
// This file provides an easy way to include the appropriate CanvasPaint
// header file on your platform.
diff --git a/skia/ext/canvas_paint_linux.h b/skia/ext/canvas_paint_linux.h
index d2dc776..8a63890 100644
--- a/skia/ext/canvas_paint_linux.h
+++ b/skia/ext/canvas_paint_linux.h
@@ -5,6 +5,7 @@
#ifndef SKIA_EXT_CANVAS_PAINT_LINUX_H_
#define SKIA_EXT_CANVAS_PAINT_LINUX_H_
+#pragma once
#include "base/logging.h"
#include "skia/ext/platform_canvas.h"
diff --git a/skia/ext/canvas_paint_mac.h b/skia/ext/canvas_paint_mac.h
index c72c79e..5fc8256 100644
--- a/skia/ext/canvas_paint_mac.h
+++ b/skia/ext/canvas_paint_mac.h
@@ -5,6 +5,7 @@
#ifndef SKIA_EXT_CANVAS_PAINT_MAC_H_
#define SKIA_EXT_CANVAS_PAINT_MAC_H_
+#pragma once
#include "skia/ext/platform_canvas.h"
diff --git a/skia/ext/canvas_paint_win.h b/skia/ext/canvas_paint_win.h
index 66746fe..478f285 100644
--- a/skia/ext/canvas_paint_win.h
+++ b/skia/ext/canvas_paint_win.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_CANVAS_PAINT_WIN_H_
#define SKIA_EXT_CANVAS_PAINT_WIN_H_
+#pragma once
#include "skia/ext/platform_canvas.h"
diff --git a/skia/ext/convolver.h b/skia/ext/convolver.h
index 1f38282..692c803 100644
--- a/skia/ext/convolver.h
+++ b/skia/ext/convolver.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_CONVOLVER_H_
#define SKIA_EXT_CONVOLVER_H_
+#pragma once
#include <vector>
diff --git a/skia/ext/image_operations.h b/skia/ext/image_operations.h
index 0d92d83..ddcfa85 100644
--- a/skia/ext/image_operations.h
+++ b/skia/ext/image_operations.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_IMAGE_OPERATIONS_H_
#define SKIA_EXT_IMAGE_OPERATIONS_H_
+#pragma once
class SkBitmap;
struct SkIRect;
diff --git a/skia/ext/platform_canvas.h b/skia/ext/platform_canvas.h
index 4c47466..1863d77 100644
--- a/skia/ext/platform_canvas.h
+++ b/skia/ext/platform_canvas.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_PLATFORM_CANVAS_H_
#define SKIA_EXT_PLATFORM_CANVAS_H_
+#pragma once
// The platform-specific device will include the necessary platform headers
// to get the surface type.
diff --git a/skia/ext/platform_device.h b/skia/ext/platform_device.h
index 39710ed..971c0a7 100644
--- a/skia/ext/platform_device.h
+++ b/skia/ext/platform_device.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_PLATFORM_DEVICE_H_
#define SKIA_EXT_PLATFORM_DEVICE_H_
+#pragma once
// This file provides an easy way to include the appropriate PlatformDevice
// header file for your platform.
diff --git a/skia/ext/platform_device_linux.h b/skia/ext/platform_device_linux.h
index 2a08cc8..0408f17 100644
--- a/skia/ext/platform_device_linux.h
+++ b/skia/ext/platform_device_linux.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_PLATFORM_DEVICE_LINUX_H_
#define SKIA_EXT_PLATFORM_DEVICE_LINUX_H_
+#pragma once
#include "third_party/skia/include/core/SkDevice.h"
diff --git a/skia/ext/platform_device_mac.h b/skia/ext/platform_device_mac.h
index 97efd7c..a32667f 100644
--- a/skia/ext/platform_device_mac.h
+++ b/skia/ext/platform_device_mac.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_PLATFORM_DEVICE_MAC_H_
#define SKIA_EXT_PLATFORM_DEVICE_MAC_H_
+#pragma once
#import <ApplicationServices/ApplicationServices.h>
#include "third_party/skia/include/core/SkDevice.h"
diff --git a/skia/ext/platform_device_win.h b/skia/ext/platform_device_win.h
index 82a27e21..b3303b8 100644
--- a/skia/ext/platform_device_win.h
+++ b/skia/ext/platform_device_win.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_PLATFORM_DEVICE_WIN_H_
#define SKIA_EXT_PLATFORM_DEVICE_WIN_H_
+#pragma once
#include <windows.h>
diff --git a/skia/ext/skia_utils_mac.h b/skia/ext/skia_utils_mac.h
index 6db5421..11bf267 100644
--- a/skia/ext/skia_utils_mac.h
+++ b/skia/ext/skia_utils_mac.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_SKIA_UTILS_MAC_H_
#define SKIA_EXT_SKIA_UTILS_MAC_H_
+#pragma once
#include <CoreGraphics/CGColor.h>
diff --git a/skia/ext/skia_utils_win.h b/skia/ext/skia_utils_win.h
index c799e02..3af4e06 100644
--- a/skia/ext/skia_utils_win.h
+++ b/skia/ext/skia_utils_win.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_SKIA_UTILS_WIN_H_
#define SKIA_EXT_SKIA_UTILS_WIN_H_
+#pragma once
#include "third_party/skia/include/core/SkColor.h"
diff --git a/skia/ext/vector_canvas.h b/skia/ext/vector_canvas.h
index 1478688..8931832 100644
--- a/skia/ext/vector_canvas.h
+++ b/skia/ext/vector_canvas.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_VECTOR_CANVAS_H_
#define SKIA_EXT_VECTOR_CANVAS_H_
+#pragma once
#include "skia/ext/platform_canvas.h"
#include "skia/ext/vector_platform_device.h"
diff --git a/skia/ext/vector_platform_device.h b/skia/ext/vector_platform_device.h
index 351b9a5..591f3e5 100644
--- a/skia/ext/vector_platform_device.h
+++ b/skia/ext/vector_platform_device.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_VECTOR_PLATFORM_DEVICE_H_
#define SKIA_EXT_VECTOR_PLATFORM_DEVICE_H_
+#pragma once
// This file provides an easy way to include the appropriate
// VectorPlatformDevice header file for your platform.
diff --git a/skia/ext/vector_platform_device_linux.h b/skia/ext/vector_platform_device_linux.h
index 118e708..016edbd 100644
--- a/skia/ext/vector_platform_device_linux.h
+++ b/skia/ext/vector_platform_device_linux.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_VECTOR_PLATFORM_DEVICE_LINUX_H_
#define SKIA_EXT_VECTOR_PLATFORM_DEVICE_LINUX_H_
+#pragma once
#include "skia/ext/platform_device.h"
#include "third_party/skia/include/core/SkMatrix.h"
diff --git a/skia/ext/vector_platform_device_win.h b/skia/ext/vector_platform_device_win.h
index 9dfefd6..ac8a8ec 100644
--- a/skia/ext/vector_platform_device_win.h
+++ b/skia/ext/vector_platform_device_win.h
@@ -4,6 +4,7 @@
#ifndef SKIA_EXT_VECTOR_PLATFORM_DEVICE_WIN_H_
#define SKIA_EXT_VECTOR_PLATFORM_DEVICE_WIN_H_
+#pragma once
#include "skia/ext/platform_device.h"
#include "third_party/skia/include/core/SkMatrix.h"