diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-26 23:08:24 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-26 23:08:24 +0000 |
commit | 32b76eff6f630b9bcc0fc3f3bad826f3d1217dda (patch) | |
tree | a5687726e4f145c715c73cbbff23e88ac2192eb9 /chrome/gpu | |
parent | 7cf4d5505378a983947d8c989841f1f378f19cde (diff) | |
download | chromium_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 'chrome/gpu')
-rw-r--r-- | chrome/gpu/gpu_backing_store_glx.h | 1 | ||||
-rw-r--r-- | chrome/gpu/gpu_backing_store_glx_context.h | 1 | ||||
-rw-r--r-- | chrome/gpu/gpu_backing_store_win.h | 1 | ||||
-rw-r--r-- | chrome/gpu/gpu_channel.h | 1 | ||||
-rw-r--r-- | chrome/gpu/gpu_command_buffer_stub.h | 1 | ||||
-rw-r--r-- | chrome/gpu/gpu_config.h | 1 | ||||
-rw-r--r-- | chrome/gpu/gpu_idirect3d9_mock_win.h | 1 | ||||
-rw-r--r-- | chrome/gpu/gpu_info_collector.h | 1 | ||||
-rw-r--r-- | chrome/gpu/gpu_process.h | 1 | ||||
-rw-r--r-- | chrome/gpu/gpu_thread.h | 1 | ||||
-rw-r--r-- | chrome/gpu/gpu_video_layer_glx.h | 1 | ||||
-rw-r--r-- | chrome/gpu/gpu_view_win.h | 1 | ||||
-rw-r--r-- | chrome/gpu/gpu_view_x.h | 1 | ||||
-rw-r--r-- | chrome/gpu/x_util.h | 1 |
14 files changed, 14 insertions, 0 deletions
diff --git a/chrome/gpu/gpu_backing_store_glx.h b/chrome/gpu/gpu_backing_store_glx.h index 3098523..fbb846d 100644 --- a/chrome/gpu/gpu_backing_store_glx.h +++ b/chrome/gpu/gpu_backing_store_glx.h @@ -4,6 +4,7 @@ #ifndef CHROME_GPU_GPU_BACKING_STORE_GLX_H_ #define CHROME_GPU_GPU_BACKING_STORE_GLX_H_ +#pragma once #include "app/surface/transport_dib.h" #include "app/x11_util.h" diff --git a/chrome/gpu/gpu_backing_store_glx_context.h b/chrome/gpu/gpu_backing_store_glx_context.h index 006d791..0f1a8cd 100644 --- a/chrome/gpu/gpu_backing_store_glx_context.h +++ b/chrome/gpu/gpu_backing_store_glx_context.h @@ -4,6 +4,7 @@ #ifndef CHROME_GPU_GPU_BACKING_STORE_GLX_CONTEXT_H_ #define CHROME_GPU_GPU_BACKING_STORE_GLX_CONTEXT_H_ +#pragma once #include "base/basictypes.h" #include "chrome/gpu/x_util.h" diff --git a/chrome/gpu/gpu_backing_store_win.h b/chrome/gpu/gpu_backing_store_win.h index db06f60..fc4bfd9 100644 --- a/chrome/gpu/gpu_backing_store_win.h +++ b/chrome/gpu/gpu_backing_store_win.h @@ -4,6 +4,7 @@ #ifndef CHROME_GPU_GPU_BACKING_STORE_WIN_H_ #define CHROME_GPU_GPU_BACKING_STORE_WIN_H_ +#pragma once #include <windows.h> diff --git a/chrome/gpu/gpu_channel.h b/chrome/gpu/gpu_channel.h index 5ce10e0..e5522da 100644 --- a/chrome/gpu/gpu_channel.h +++ b/chrome/gpu/gpu_channel.h @@ -4,6 +4,7 @@ #ifndef CHROME_GPU_GPU_CHANNEL_H_ #define CHROME_GPU_GPU_CHANNEL_H_ +#pragma once #include <string> diff --git a/chrome/gpu/gpu_command_buffer_stub.h b/chrome/gpu/gpu_command_buffer_stub.h index 7383840..3abf0fb 100644 --- a/chrome/gpu/gpu_command_buffer_stub.h +++ b/chrome/gpu/gpu_command_buffer_stub.h @@ -4,6 +4,7 @@ #ifndef CHROME_GPU_GPU_COMMAND_BUFFER_STUB_H_ #define CHROME_GPU_GPU_COMMAND_BUFFER_STUB_H_ +#pragma once #if defined(ENABLE_GPU) diff --git a/chrome/gpu/gpu_config.h b/chrome/gpu/gpu_config.h index 41ca6a3..96a2861 100644 --- a/chrome/gpu/gpu_config.h +++ b/chrome/gpu/gpu_config.h @@ -4,6 +4,7 @@ #ifndef CHROME_GPU_GPU_CONFIG_H_ #define CHROME_GPU_GPU_CONFIG_H_ +#pragma once // This file declares common preprocessor configuration for the GPU process. diff --git a/chrome/gpu/gpu_idirect3d9_mock_win.h b/chrome/gpu/gpu_idirect3d9_mock_win.h index a7e9107..b2867d2 100644 --- a/chrome/gpu/gpu_idirect3d9_mock_win.h +++ b/chrome/gpu/gpu_idirect3d9_mock_win.h @@ -4,6 +4,7 @@ #ifndef CHROME_GPU_GPU_IDIRECT3D9_MOCK_WIN_H__ #define CHROME_GPU_GPU_IDIRECT3D9_MOCK_WIN_H__ +#pragma once #include <d3d9.h> #include <windows.h> diff --git a/chrome/gpu/gpu_info_collector.h b/chrome/gpu/gpu_info_collector.h index 8be89bd..934f64f 100644 --- a/chrome/gpu/gpu_info_collector.h +++ b/chrome/gpu/gpu_info_collector.h @@ -4,6 +4,7 @@ #ifndef CHROME_GPU_GPU_INFO_COLLECTOR_H__ #define CHROME_GPU_GPU_INFO_COLLECTOR_H__ +#pragma once #include <string> diff --git a/chrome/gpu/gpu_process.h b/chrome/gpu/gpu_process.h index 92c73a6..32944d5 100644 --- a/chrome/gpu/gpu_process.h +++ b/chrome/gpu/gpu_process.h @@ -4,6 +4,7 @@ #ifndef CHROME_GPU_GPU_PROCESS_H_ #define CHROME_GPU_GPU_PROCESS_H_ +#pragma once #include "chrome/common/child_process.h" diff --git a/chrome/gpu/gpu_thread.h b/chrome/gpu/gpu_thread.h index 7f63305..76904c3 100644 --- a/chrome/gpu/gpu_thread.h +++ b/chrome/gpu/gpu_thread.h @@ -4,6 +4,7 @@ #ifndef CHROME_GPU_GPU_THREAD_H_ #define CHROME_GPU_GPU_THREAD_H_ +#pragma once #include "base/basictypes.h" #include "base/scoped_ptr.h" diff --git a/chrome/gpu/gpu_video_layer_glx.h b/chrome/gpu/gpu_video_layer_glx.h index f46478f..955ebd0 100644 --- a/chrome/gpu/gpu_video_layer_glx.h +++ b/chrome/gpu/gpu_video_layer_glx.h @@ -4,6 +4,7 @@ #ifndef CHROME_GPU_GPU_VIDEO_LAYER_GLX_H_ #define CHROME_GPU_GPU_VIDEO_LAYER_GLX_H_ +#pragma once #include "app/surface/transport_dib.h" #include "app/x11_util.h" diff --git a/chrome/gpu/gpu_view_win.h b/chrome/gpu/gpu_view_win.h index 4a1b7737..39cbf54 100644 --- a/chrome/gpu/gpu_view_win.h +++ b/chrome/gpu/gpu_view_win.h @@ -4,6 +4,7 @@ #ifndef CHROME_GPU_GPU_VIEW_WIN_H_ #define CHROME_GPU_GPU_VIEW_WIN_H_ +#pragma once #include <atlbase.h> #include <atlapp.h> diff --git a/chrome/gpu/gpu_view_x.h b/chrome/gpu/gpu_view_x.h index cbc7658..a9a5ddd 100644 --- a/chrome/gpu/gpu_view_x.h +++ b/chrome/gpu/gpu_view_x.h @@ -4,6 +4,7 @@ #ifndef CHROME_GPU_GPU_VIEW_X_H_ #define CHROME_GPU_GPU_VIEW_X_H_ +#pragma once #include "base/basictypes.h" #include "base/scoped_ptr.h" diff --git a/chrome/gpu/x_util.h b/chrome/gpu/x_util.h index 512b232..9b4727a 100644 --- a/chrome/gpu/x_util.h +++ b/chrome/gpu/x_util.h @@ -4,6 +4,7 @@ #ifndef CHROME_GPU_X_UTIL_H_ #define CHROME_GPU_X_UTIL_H_ +#pragma once // Some X-Windows specific stuff. This can be included on any platform, and will // be a NOP on non-Linux ones. |