Commit 32b76eff authored by thakis@chromium.org's avatar thakis@chromium.org

`#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
parent 7cf4d550

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.
......@@ -4,6 +4,7 @@
#ifndef APP_ACTIVE_WINDOW_WATCHER_X_H_
#define APP_ACTIVE_WINDOW_WATCHER_X_H_
#pragma once
#include <gdk/gdk.h>
......
......@@ -4,6 +4,7 @@
#ifndef APP_ANIMATION_H_
#define APP_ANIMATION_H_
#pragma once
#include "app/animation_container.h"
#include "base/ref_counted.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_ANIMATION_CONTAINER_H_
#define APP_ANIMATION_CONTAINER_H_
#pragma once
#include <set>
......
......@@ -4,6 +4,7 @@
#ifndef APP_APP_PATHS_H_
#define APP_APP_PATHS_H_
#pragma once
// This file declares path keys for the app module. These can be used with
// the PathService to access various special directories and files.
......
......@@ -6,6 +6,7 @@
#ifndef APP_APP_SWITCHES_H_
#define APP_APP_SWITCHES_H_
#pragma once
namespace switches {
......
......@@ -4,6 +4,7 @@
#ifndef APP_BIDI_LINE_ITERATOR_H_
#define APP_BIDI_LINE_ITERATOR_H_
#pragma once
#include <string>
......
......@@ -4,6 +4,7 @@
#ifndef APP_CLIPBOARD_CLIPBOARD_H_
#define APP_CLIPBOARD_CLIPBOARD_H_
#pragma once
#include <map>
#include <string>
......
......@@ -6,6 +6,7 @@
#ifndef APP_CLIPBOARD_CLIPBOARD_UTIL_WIN_H_
#define APP_CLIPBOARD_CLIPBOARD_UTIL_WIN_H_
#pragma once
#include <shlobj.h>
#include <string>
......
......@@ -10,6 +10,7 @@
#ifndef APP_CLIPBOARD_SCOPED_CLIPBOARD_WRITER_H_
#define APP_CLIPBOARD_SCOPED_CLIPBOARD_WRITER_H_
#pragma once
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#ifndef APP_COMBOBOX_MODEL_H_
#define APP_COMBOBOX_MODEL_H_
#pragma once
#include <string>
......
......@@ -4,6 +4,7 @@
#ifndef APP_DOWNLOAD_FILE_INTERFACE_H_
#define APP_DOWNLOAD_FILE_INTERFACE_H_
#pragma once
#include "build/build_config.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_DRAG_DROP_TYPES_H_
#define APP_DRAG_DROP_TYPES_H_
#pragma once
#include "build/build_config.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_GFX_FONT_UTIL_H_
#define APP_GFX_FONT_UTIL_H_
#pragma once
#include "gfx/size.h"
......
......@@ -9,6 +9,7 @@
#ifndef APP_GFX_GL_GL_BINDINGS_H_
#define APP_GFX_GL_GL_BINDINGS_H_
#pragma once
#include <GL/gl.h>
#include <GL/glext.h>
......
......@@ -4,6 +4,7 @@
#ifndef APP_GFX_GL_GL_CONTEXT_H_
#define APP_GFX_GL_GL_CONTEXT_H_
#pragma once
#include "base/logging.h"
#include "build/build_config.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_GFX_GL_GL_CONTEXT_EGL_H_
#define APP_GFX_GL_GL_CONTEXT_EGL_H_
#pragma once
#include "gfx/size.h"
#include "app/gfx/gl/gl_context.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_GFX_GL_GL_CONTEXT_OSMESA_H_
#define APP_GFX_GL_GL_CONTEXT_OSMESA_H_
#pragma once
#include "base/scoped_ptr.h"
#include "gfx/size.h"
......
......@@ -6,6 +6,7 @@
#ifndef APP_GFX_GL_GL_CONTEXT_STUB_H_
#define APP_GFX_GL_GL_CONTEXT_STUB_H_
#pragma once
#include "app/gfx/gl/gl_context.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_GFX_GL_GL_IMPLEMENTATION_H_
#define APP_GFX_GL_GL_IMPLEMENTATION_H_
#pragma once
#include <string>
......
......@@ -8,6 +8,7 @@
#ifndef APP_GFX_GL_GL_INTERFACE_H_
#define APP_GFX_GL_GL_INTERFACE_H_
#pragma once
#include "app/gfx/gl/gl_bindings.h"
......
......@@ -7,6 +7,7 @@
#ifndef APP_GFX_GL_GL_MOCK_H_
#define APP_GFX_GL_GL_MOCK_H_
#pragma once
#include "app/gfx/gl/gl_interface.h"
#include "testing/gmock/include/gmock/gmock.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_GTK_DND_UTIL_H_
#define APP_GTK_DND_UTIL_H_
#pragma once
#include <gtk/gtk.h>
......
......@@ -4,6 +4,7 @@
#ifndef APP_GTK_INTEGERS_H_
#define APP_GTK_INTEGERS_H_
#pragma once
// GLib/Gobject/Gtk all use their own integer typedefs. They are copied here
// for forward declaration reasons so we don't pull in all of gtk.h when we
......
......@@ -4,6 +4,7 @@
#ifndef APP_GTK_SIGNAL_H_
#define APP_GTK_SIGNAL_H_
#pragma once
typedef void* gpointer;
typedef struct _GtkWidget GtkWidget;
......
......@@ -4,6 +4,7 @@
#ifndef APP_GTK_SIGNAL_REGISTRAR_H_
#define APP_GTK_SIGNAL_REGISTRAR_H_
#pragma once
#include <glib.h>
#include <map>
......
......@@ -4,6 +4,7 @@
#ifndef APP_GTK_UTIL_H_
#define APP_GTK_UTIL_H_
#pragma once
#include <stdint.h>
#include <string>
......
......@@ -4,6 +4,7 @@
#ifndef APP_HI_RES_TIMER_MANAGER_H_
#define APP_HI_RES_TIMER_MANAGER_H_
#pragma once
#include "app/system_monitor.h"
......
......@@ -7,6 +7,7 @@
#ifndef APP_L10N_UTIL_H_
#define APP_L10N_UTIL_H_
#pragma once
#include <algorithm>
#include <functional>
......
......@@ -4,6 +4,7 @@
#ifndef APP_L10N_UTIL_COLLATOR_H_
#define APP_L10N_UTIL_COLLATOR_H_
#pragma once
#include <algorithm>
#include <functional>
......
......@@ -4,6 +4,7 @@
#ifndef APP_L10N_UTIL_MAC_H_
#define APP_L10N_UTIL_MAC_H_
#pragma once
#include "app/l10n_util.h"
#include "base/basictypes.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_L10N_UTIL_WIN_H_
#define APP_L10N_UTIL_WIN_H_
#pragma once
#include <windows.h>
......
......@@ -5,6 +5,7 @@
#ifndef APP_LINEAR_ANIMATION_H_
#define APP_LINEAR_ANIMATION_H_
#pragma once
#include "app/animation.h"
#include "base/time.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_MENUS_ACCELERATOR_H_
#define APP_MENUS_ACCELERATOR_H_
#pragma once
#include "base/keyboard_codes.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_MENUS_ACCELERATOR_COCOA_H_
#define APP_MENUS_ACCELERATOR_COCOA_H_
#pragma once
#include <Foundation/Foundation.h>
......
......@@ -4,6 +4,7 @@
#ifndef APP_MENUS_ACCELERATOR_GTK_H_
#define APP_MENUS_ACCELERATOR_GTK_H_
#pragma once
#include <gdk/gdk.h>
......
......@@ -4,6 +4,7 @@
#ifndef APP_MENUS_BUTTON_MENU_ITEM_MODEL_H_
#define APP_MENUS_BUTTON_MENU_ITEM_MODEL_H_
#pragma once
#include <vector>
......
......@@ -4,6 +4,7 @@
#ifndef APP_MENUS_MENU_MODEL_H_
#define APP_MENUS_MENU_MODEL_H_
#pragma once
#include "base/scoped_ptr.h"
#include "base/string16.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_MENUS_SIMPLE_MENU_MODEL_H_
#define APP_MENUS_SIMPLE_MENU_MODEL_H_
#pragma once
#include <vector>
......
......@@ -4,6 +4,7 @@
#ifndef APP_MESSAGE_BOX_FLAGS_H_
#define APP_MESSAGE_BOX_FLAGS_H_
#pragma once
#include "base/basictypes.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_MULTI_ANIMATION_H_
#define APP_MULTI_ANIMATION_H_
#pragma once
#include <vector>
......
......@@ -4,6 +4,7 @@
#ifndef APP_OS_EXCHANGE_DATA_H_
#define APP_OS_EXCHANGE_DATA_H_
#pragma once
#include "build/build_config.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_OS_EXCHANGE_DATA_PROVIDER_GTK_H_
#define APP_OS_EXCHANGE_DATA_PROVIDER_GTK_H_
#pragma once
#include <gtk/gtk.h>
#include <map>
......
......@@ -4,6 +4,7 @@
#ifndef APP_OS_EXCHANGE_DATA_PROVIDER_WIN_H_
#define APP_OS_EXCHANGE_DATA_PROVIDER_WIN_H_
#pragma once
#include <objidl.h>
#include <shlobj.h>
......
......@@ -4,6 +4,7 @@
#ifndef APP_RESOURCE_BUNDLE_H_
#define APP_RESOURCE_BUNDLE_H_
#pragma once
#include "build/build_config.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_SCOPED_HANDLE_GTK_H_
#define APP_SCOPED_HANDLE_GTK_H_
#pragma once
#include <gdk/gdk.h>
......
......@@ -4,6 +4,7 @@
#ifndef APP_SLIDE_ANIMATION_H_
#define APP_SLIDE_ANIMATION_H_
#pragma once
#include "app/linear_animation.h"
#include "app/tween.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_SQL_CONNECTION_H_
#define APP_SQL_CONNECTION_H_
#pragma once
#include <map>
#include <set>
......
......@@ -4,6 +4,7 @@
#ifndef APP_SQL_DIAGNOSTIC_ERROR_DELEGATE_H_
#define APP_SQL_DIAGNOSTIC_ERROR_DELEGATE_H_
#pragma once
#include "app/sql/connection.h"
#include "base/histogram.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_SQL_INIT_STATUS_H_
#define APP_SQL_INIT_STATUS_H_
#pragma once
namespace sql {
......
......@@ -4,6 +4,7 @@
#ifndef APP_SQL_META_TABLE_H_
#define APP_SQL_META_TABLE_H_
#pragma once
#include <string>
......
......@@ -4,6 +4,7 @@
#ifndef APP_SQL_STATEMENT_H_
#define APP_SQL_STATEMENT_H_
#pragma once
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#ifndef APP_SQL_TRANSACTION_H_
#define APP_SQL_TRANSACTION_H_
#pragma once
#include "base/basictypes.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_SURFACE_ACCELERATED_SURFACE_MAC_H_
#define APP_SURFACE_ACCELERATED_SURFACE_MAC_H_
#pragma once
#include <CoreFoundation/CoreFoundation.h>
......
......@@ -4,6 +4,7 @@
#ifndef APP_SURFACE_IO_SURFACE_SUPPORT_MAC_H_
#define APP_SURFACE_IO_SURFACE_SUPPORT_MAC_H_
#pragma once
#include <CoreFoundation/CoreFoundation.h>
#include <mach/mach.h>
......
......@@ -4,6 +4,7 @@
#ifndef APP_SURFACE_TRANSPORT_DIB_H_
#define APP_SURFACE_TRANSPORT_DIB_H_
#pragma once
#include "base/basictypes.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_SYSTEM_MONITOR_H_
#define APP_SYSTEM_MONITOR_H_
#pragma once
#include "build/build_config.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_TABLE_MODEL_H_
#define APP_TABLE_MODEL_H_
#pragma once
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#ifndef APP_TABLE_MODEL_OBSERVER_H_
#define APP_TABLE_MODEL_OBSERVER_H_
#pragma once
// Observer for a TableModel. Anytime the model changes, it must notify its
// observer.
......
......@@ -20,6 +20,7 @@
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 108
#pragma once
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
......
......@@ -4,6 +4,7 @@
#ifndef APP_TEST_ANIMATION_DELEGATE_H_
#define APP_TEST_ANIMATION_DELEGATE_H_
#pragma once
#include "app/animation.h"
#include "base/message_loop.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_TEST_SUITE_H_
#define APP_TEST_SUITE_H_
#pragma once
#include "build/build_config.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_TEXT_ELIDER_H_
#define APP_TEXT_ELIDER_H_
#pragma once
#include <unicode/coll.h>
#include <unicode/uchar.h>
......
......@@ -4,6 +4,7 @@
#ifndef APP_THEME_PROVIDER_H_
#define APP_THEME_PROVIDER_H_
#pragma once
#include <vector>
......
......@@ -4,6 +4,7 @@
#ifndef APP_THROB_ANIMATION_H_
#define APP_THROB_ANIMATION_H_
#pragma once
#include "app/slide_animation.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_TREE_MODEL_H_
#define APP_TREE_MODEL_H_
#pragma once
#include <string>
#include <vector>
......
......@@ -4,6 +4,7 @@
#ifndef APP_TREE_NODE_ITERATOR_H_
#define APP_TREE_NODE_ITERATOR_H_
#pragma once
#include <stack>
......
......@@ -4,6 +4,7 @@
#ifndef APP_TREE_NODE_MODEL_H_
#define APP_TREE_NODE_MODEL_H_
#pragma once
#include <algorithm>
#include <string>
......
......@@ -4,6 +4,7 @@
#ifndef APP_TWEEN_H_
#define APP_TWEEN_H_
#pragma once
#include "base/logging.h"
......
......@@ -4,6 +4,7 @@
#ifndef APP_WIN_UTIL_H_
#define APP_WIN_UTIL_H_
#pragma once
#include <objbase.h>
......
......@@ -4,6 +4,7 @@
#ifndef APP_X11_UTIL_H_
#define APP_X11_UTIL_H_
#pragma once
// This file declares utility functions for X11 (Linux only).
//
......
......@@ -4,6 +4,7 @@
#ifndef APP_X11_UTIL_INTERNAL_H_
#define APP_X11_UTIL_INTERNAL_H_
#pragma once
// This file declares utility functions for X11 (Linux only).
//
......