summaryrefslogtreecommitdiffstats
path: root/chrome/test
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 /chrome/test
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 'chrome/test')
-rw-r--r--chrome/test/automated_ui_tests/automated_ui_test_base.h1
-rw-r--r--chrome/test/automated_ui_tests/automated_ui_tests.h1
-rw-r--r--chrome/test/automation/autocomplete_edit_proxy.h1
-rw-r--r--chrome/test/automation/automation_constants.h1
-rw-r--r--chrome/test/automation/automation_handle_tracker.h1
-rw-r--r--chrome/test/automation/automation_messages.h1
-rw-r--r--chrome/test/automation/automation_proxy.h1
-rw-r--r--chrome/test/automation/automation_proxy_uitest.h1
-rw-r--r--chrome/test/automation/browser_proxy.h1
-rw-r--r--chrome/test/automation/dom_element_proxy.h1
-rw-r--r--chrome/test/automation/extension_proxy.h1
-rw-r--r--chrome/test/automation/javascript_execution_controller.h1
-rw-r--r--chrome/test/automation/javascript_message_utils.h1
-rw-r--r--chrome/test/automation/tab_proxy.h1
-rw-r--r--chrome/test/automation/window_proxy.h1
-rw-r--r--chrome/test/bookmark_load_observer.h1
-rw-r--r--chrome/test/browser_with_test_window_test.h1
-rw-r--r--chrome/test/chrome_plugin/test_chrome_plugin.h1
-rw-r--r--chrome/test/chrome_process_util.h1
-rw-r--r--chrome/test/file_test_utils.h1
-rw-r--r--chrome/test/in_process_browser_test.h1
-rw-r--r--chrome/test/injection_test_dll.h1
-rw-r--r--chrome/test/interactive_ui/view_event_test_base.h1
-rw-r--r--chrome/test/live_sync/bookmark_model_verifier.h1
-rw-r--r--chrome/test/live_sync/live_autofill_sync_test.h1
-rw-r--r--chrome/test/live_sync/live_bookmarks_sync_test.h1
-rw-r--r--chrome/test/live_sync/live_preferences_sync_test.h1
-rw-r--r--chrome/test/live_sync/live_sync_test.h1
-rw-r--r--chrome/test/live_sync/profile_sync_service_test_harness.h1
-rw-r--r--chrome/test/menu_model_test.h1
-rw-r--r--chrome/test/mini_installer_test/chrome_mini_installer.h1
-rw-r--r--chrome/test/mini_installer_test/mini_installer_test_constants.h1
-rw-r--r--chrome/test/mini_installer_test/mini_installer_test_util.h1
-rw-r--r--chrome/test/model_test_utils.h1
-rw-r--r--chrome/test/nacl/nacl_sandbox_test.h1
-rw-r--r--chrome/test/nacl/nacl_test.h1
-rw-r--r--chrome/test/nacl/nacl_ui_test.h1
-rw-r--r--chrome/test/nacl_security_tests/commands_posix.h1
-rw-r--r--chrome/test/nacl_security_tests/nacl_security_tests_posix.h1
-rw-r--r--chrome/test/nacl_security_tests/nacl_security_tests_win.h1
-rw-r--r--chrome/test/profile_mock.h1
-rw-r--r--chrome/test/pyautolib/pyautolib.h1
-rw-r--r--chrome/test/reliability/page_load_test.h1
-rw-r--r--chrome/test/reliability/reliability_test_suite.h1
-rw-r--r--chrome/test/render_view_test.h1
-rw-r--r--chrome/test/security_tests/ipc_security_tests.h1
-rw-r--r--chrome/test/sync/engine/mock_connection_manager.h1
-rw-r--r--chrome/test/sync/engine/mock_gaia_authenticator.h1
-rw-r--r--chrome/test/sync/engine/proto_extension_validator.h1
-rw-r--r--chrome/test/sync/engine/syncer_command_test.h1
-rw-r--r--chrome/test/sync/engine/test_directory_setter_upper.h1
-rw-r--r--chrome/test/sync/engine/test_id_factory.h1
-rw-r--r--chrome/test/sync/engine/test_syncable_utils.h1
-rw-r--r--chrome/test/sync/test_http_bridge_factory.h1
-rw-r--r--chrome/test/test_browser_window.h1
-rw-r--r--chrome/test/test_launcher/test_runner.h1
-rw-r--r--chrome/test/test_location_bar.h1
-rw-r--r--chrome/test/test_notification_tracker.h1
-rw-r--r--chrome/test/testing_browser_process.h1
-rw-r--r--chrome/test/testing_pref_service.h1
-rw-r--r--chrome/test/testing_profile.h1
-rw-r--r--chrome/test/thread_observer_helper.h1
-rw-r--r--chrome/test/ui/javascript_test_util.h1
-rw-r--r--chrome/test/ui/npapi_test_helper.h1
-rw-r--r--chrome/test/ui/ui_layout_test.h1
-rw-r--r--chrome/test/ui/ui_test.h1
-rw-r--r--chrome/test/ui/ui_test_suite.h1
-rw-r--r--chrome/test/ui_test_utils.h1
-rw-r--r--chrome/test/unit/chrome_test_suite.h1
-rw-r--r--chrome/test/v8_unit_test.h1
70 files changed, 70 insertions, 0 deletions
diff --git a/chrome/test/automated_ui_tests/automated_ui_test_base.h b/chrome/test/automated_ui_tests/automated_ui_test_base.h
index c4b9429..9891b25 100644
--- a/chrome/test/automated_ui_tests/automated_ui_test_base.h
+++ b/chrome/test/automated_ui_tests/automated_ui_test_base.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_AUTOMATED_UI_TESTS_AUTOMATED_UI_TEST_BASE_H_
#define CHROME_TEST_AUTOMATED_UI_TESTS_AUTOMATED_UI_TEST_BASE_H_
+#pragma once
#include "chrome/test/ui/ui_test.h"
diff --git a/chrome/test/automated_ui_tests/automated_ui_tests.h b/chrome/test/automated_ui_tests/automated_ui_tests.h
index 286234a..d26675c 100644
--- a/chrome/test/automated_ui_tests/automated_ui_tests.h
+++ b/chrome/test/automated_ui_tests/automated_ui_tests.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_AUTOMATED_UI_TESTS_AUTOMATED_UI_TESTS_H_
#define CHROME_TEST_AUTOMATED_UI_TESTS_AUTOMATED_UI_TESTS_H_
+#pragma once
// This takes an input file of commands, which consist of a series of
// actions, and runs every command, reporting the status of each one
diff --git a/chrome/test/automation/autocomplete_edit_proxy.h b/chrome/test/automation/autocomplete_edit_proxy.h
index ae5df8f..5dcf8af 100644
--- a/chrome/test/automation/autocomplete_edit_proxy.h
+++ b/chrome/test/automation/autocomplete_edit_proxy.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_AUTOMATION_AUTOCOMPLETE_EDIT_PROXY_H_
#define CHROME_TEST_AUTOMATION_AUTOCOMPLETE_EDIT_PROXY_H_
+#pragma once
#include <string>
#include <vector>
diff --git a/chrome/test/automation/automation_constants.h b/chrome/test/automation/automation_constants.h
index 68f5889..663c9bd 100644
--- a/chrome/test/automation/automation_constants.h
+++ b/chrome/test/automation/automation_constants.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H_
#define CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H_
+#pragma once
namespace automation {
// Amount of time to wait before querying the browser.
diff --git a/chrome/test/automation/automation_handle_tracker.h b/chrome/test/automation/automation_handle_tracker.h
index 26ca976..2e93b7b 100644
--- a/chrome/test/automation/automation_handle_tracker.h
+++ b/chrome/test/automation/automation_handle_tracker.h
@@ -7,6 +7,7 @@
#ifndef CHROME_TEST_AUTOMATION_AUTOMATION_HANDLE_TRACKER_H__
#define CHROME_TEST_AUTOMATION_AUTOMATION_HANDLE_TRACKER_H__
+#pragma once
#include <map>
diff --git a/chrome/test/automation/automation_messages.h b/chrome/test/automation/automation_messages.h
index 5ae18e9..996bce8 100644
--- a/chrome/test/automation/automation_messages.h
+++ b/chrome/test/automation/automation_messages.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_AUTOMATION_AUTOMATION_MESSAGES_H__
#define CHROME_TEST_AUTOMATION_AUTOMATION_MESSAGES_H__
+#pragma once
#include <string>
diff --git a/chrome/test/automation/automation_proxy.h b/chrome/test/automation/automation_proxy.h
index 267bc3e..fca2f1b 100644
--- a/chrome/test/automation/automation_proxy.h
+++ b/chrome/test/automation/automation_proxy.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__
#define CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__
+#pragma once
#include <string>
#include <vector>
diff --git a/chrome/test/automation/automation_proxy_uitest.h b/chrome/test/automation/automation_proxy_uitest.h
index 570da40..55da8cc 100644
--- a/chrome/test/automation/automation_proxy_uitest.h
+++ b/chrome/test/automation/automation_proxy_uitest.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_UITEST_H_
#define CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_UITEST_H_
+#pragma once
#include <string>
diff --git a/chrome/test/automation/browser_proxy.h b/chrome/test/automation/browser_proxy.h
index ea7938b..70fd140 100644
--- a/chrome/test/automation/browser_proxy.h
+++ b/chrome/test/automation/browser_proxy.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_
#define CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_
+#pragma once
#include "build/build_config.h"
diff --git a/chrome/test/automation/dom_element_proxy.h b/chrome/test/automation/dom_element_proxy.h
index 84bdd55..0cf027f 100644
--- a/chrome/test/automation/dom_element_proxy.h
+++ b/chrome/test/automation/dom_element_proxy.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_AUTOMATION_DOM_ELEMENT_PROXY_H_
#define CHROME_TEST_AUTOMATION_DOM_ELEMENT_PROXY_H_
+#pragma once
#include <string>
#include <vector>
diff --git a/chrome/test/automation/extension_proxy.h b/chrome/test/automation/extension_proxy.h
index c6ae6dda..1257b9e 100644
--- a/chrome/test/automation/extension_proxy.h
+++ b/chrome/test/automation/extension_proxy.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_AUTOMATION_EXTENSION_PROXY_H_
#define CHROME_TEST_AUTOMATION_EXTENSION_PROXY_H_
+#pragma once
#include <string>
diff --git a/chrome/test/automation/javascript_execution_controller.h b/chrome/test/automation/javascript_execution_controller.h
index ec6a80f..633ce55 100644
--- a/chrome/test/automation/javascript_execution_controller.h
+++ b/chrome/test/automation/javascript_execution_controller.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_AUTOMATION_JAVASCRIPT_EXECUTION_CONTROLLER_H_
#define CHROME_TEST_AUTOMATION_JAVASCRIPT_EXECUTION_CONTROLLER_H_
+#pragma once
#include <map>
#include <string>
diff --git a/chrome/test/automation/javascript_message_utils.h b/chrome/test/automation/javascript_message_utils.h
index aa462a0..bdfe400 100644
--- a/chrome/test/automation/javascript_message_utils.h
+++ b/chrome/test/automation/javascript_message_utils.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_AUTOMATION_JAVASCRIPT_MESSAGE_UTILS_H_
#define CHROME_TEST_AUTOMATION_JAVASCRIPT_MESSAGE_UTILS_H_
+#pragma once
#include <string>
#include <vector>
diff --git a/chrome/test/automation/tab_proxy.h b/chrome/test/automation/tab_proxy.h
index f2dcb33..dd97f26 100644
--- a/chrome/test/automation/tab_proxy.h
+++ b/chrome/test/automation/tab_proxy.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_AUTOMATION_TAB_PROXY_H_
#define CHROME_TEST_AUTOMATION_TAB_PROXY_H_
+#pragma once
#include "build/build_config.h" // NOLINT
diff --git a/chrome/test/automation/window_proxy.h b/chrome/test/automation/window_proxy.h
index 3f6fa8a..937f2ae 100644
--- a/chrome/test/automation/window_proxy.h
+++ b/chrome/test/automation/window_proxy.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_AUTOMATION_WINDOW_PROXY_H__
#define CHROME_TEST_AUTOMATION_WINDOW_PROXY_H__
+#pragma once
#include "build/build_config.h"
diff --git a/chrome/test/bookmark_load_observer.h b/chrome/test/bookmark_load_observer.h
index 31f7b43..cf3de21 100644
--- a/chrome/test/bookmark_load_observer.h
+++ b/chrome/test/bookmark_load_observer.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_BOOKMARK_LOAD_OBSERVER_H_
#define CHROME_TEST_BOOKMARK_LOAD_OBSERVER_H_
+#pragma once
#include "base/message_loop.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
diff --git a/chrome/test/browser_with_test_window_test.h b/chrome/test/browser_with_test_window_test.h
index 5250365..d4037c4 100644
--- a/chrome/test/browser_with_test_window_test.h
+++ b/chrome/test/browser_with_test_window_test.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_BROWSER_WITH_TEST_WINDOW_TEST_H_
#define CHROME_TEST_BROWSER_WITH_TEST_WINDOW_TEST_H_
+#pragma once
#include <string>
diff --git a/chrome/test/chrome_plugin/test_chrome_plugin.h b/chrome/test/chrome_plugin/test_chrome_plugin.h
index b8e3f75..19d3310 100644
--- a/chrome/test/chrome_plugin/test_chrome_plugin.h
+++ b/chrome/test/chrome_plugin/test_chrome_plugin.h
@@ -5,6 +5,7 @@
#ifndef CHROME_TEST_CHROME_PLUGIN_TEST_CHROME_PLUGIN_H__
#define CHROME_TEST_CHROME_PLUGIN_TEST_CHROME_PLUGIN_H__
+#pragma once
#include <string>
diff --git a/chrome/test/chrome_process_util.h b/chrome/test/chrome_process_util.h
index 31bb897..210c3bd 100644
--- a/chrome/test/chrome_process_util.h
+++ b/chrome/test/chrome_process_util.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_CHROME_PROCESS_UTIL_H_
#define CHROME_TEST_CHROME_PROCESS_UTIL_H_
+#pragma once
#include <vector>
diff --git a/chrome/test/file_test_utils.h b/chrome/test/file_test_utils.h
index 1b5fc22..83b7f3e 100644
--- a/chrome/test/file_test_utils.h
+++ b/chrome/test/file_test_utils.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_FILE_TEST_UTILS_H_
#define CHROME_TEST_FILE_TEST_UTILS_H_
+#pragma once
#include "base/file_path.h"
#include "base/file_util.h"
diff --git a/chrome/test/in_process_browser_test.h b/chrome/test/in_process_browser_test.h
index 31f1739..deaf160 100644
--- a/chrome/test/in_process_browser_test.h
+++ b/chrome/test/in_process_browser_test.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_IN_PROCESS_BROWSER_TEST_H_
#define CHROME_TEST_IN_PROCESS_BROWSER_TEST_H_
+#pragma once
#include "base/compiler_specific.h"
#include "net/url_request/url_request_unittest.h"
diff --git a/chrome/test/injection_test_dll.h b/chrome/test/injection_test_dll.h
index 31988b1..6240e0b 100644
--- a/chrome/test/injection_test_dll.h
+++ b/chrome/test/injection_test_dll.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_INJECTION_TEST_DLL_H__
#define CHROME_TEST_INJECTION_TEST_DLL_H__
+#pragma once
// This file defines the entry points for any DLL that can be loaded into the
// renderer or plugin process for the purposes of testing. The DLL code must
diff --git a/chrome/test/interactive_ui/view_event_test_base.h b/chrome/test/interactive_ui/view_event_test_base.h
index 31606dd..eab30a9 100644
--- a/chrome/test/interactive_ui/view_event_test_base.h
+++ b/chrome/test/interactive_ui/view_event_test_base.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_INTERACTIVE_UI_VIEW_EVENT_TEST_BASE_H_
#define CHROME_TEST_INTERACTIVE_UI_VIEW_EVENT_TEST_BASE_H_
+#pragma once
#include "base/message_loop.h"
#include "base/task.h"
diff --git a/chrome/test/live_sync/bookmark_model_verifier.h b/chrome/test/live_sync/bookmark_model_verifier.h
index 5baa242..7d7ce5a 100644
--- a/chrome/test/live_sync/bookmark_model_verifier.h
+++ b/chrome/test/live_sync/bookmark_model_verifier.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_LIVE_SYNC_BOOKMARK_MODEL_VERIFIER_H_
#define CHROME_TEST_LIVE_SYNC_BOOKMARK_MODEL_VERIFIER_H_
+#pragma once
#include <string>
#include "chrome/browser/profile.h"
diff --git a/chrome/test/live_sync/live_autofill_sync_test.h b/chrome/test/live_sync/live_autofill_sync_test.h
index 8bfba22..a3d3466 100644
--- a/chrome/test/live_sync/live_autofill_sync_test.h
+++ b/chrome/test/live_sync/live_autofill_sync_test.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_LIVE_SYNC_LIVE_AUTOFILL_SYNC_TEST_H_
#define CHROME_TEST_LIVE_SYNC_LIVE_AUTOFILL_SYNC_TEST_H_
+#pragma once
#include <map>
#include <set>
diff --git a/chrome/test/live_sync/live_bookmarks_sync_test.h b/chrome/test/live_sync/live_bookmarks_sync_test.h
index 632d4f4..89c79fd 100644
--- a/chrome/test/live_sync/live_bookmarks_sync_test.h
+++ b/chrome/test/live_sync/live_bookmarks_sync_test.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_LIVE_SYNC_LIVE_BOOKMARKS_SYNC_TEST_H_
#define CHROME_TEST_LIVE_SYNC_LIVE_BOOKMARKS_SYNC_TEST_H_
+#pragma once
#include <vector>
diff --git a/chrome/test/live_sync/live_preferences_sync_test.h b/chrome/test/live_sync/live_preferences_sync_test.h
index 1ffb808..c9e4499 100644
--- a/chrome/test/live_sync/live_preferences_sync_test.h
+++ b/chrome/test/live_sync/live_preferences_sync_test.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_LIVE_SYNC_LIVE_PREFERENCES_SYNC_TEST_H_
#define CHROME_TEST_LIVE_SYNC_LIVE_PREFERENCES_SYNC_TEST_H_
+#pragma once
#include "chrome/browser/pref_service.h"
#include "chrome/browser/profile.h"
diff --git a/chrome/test/live_sync/live_sync_test.h b/chrome/test/live_sync/live_sync_test.h
index 33aa8e3..3774ecc 100644
--- a/chrome/test/live_sync/live_sync_test.h
+++ b/chrome/test/live_sync/live_sync_test.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_LIVE_SYNC_LIVE_SYNC_TEST_H_
#define CHROME_TEST_LIVE_SYNC_LIVE_SYNC_TEST_H_
+#pragma once
#include "chrome/test/in_process_browser_test.h"
diff --git a/chrome/test/live_sync/profile_sync_service_test_harness.h b/chrome/test/live_sync/profile_sync_service_test_harness.h
index 190e3f6..aeae4a2 100644
--- a/chrome/test/live_sync/profile_sync_service_test_harness.h
+++ b/chrome/test/live_sync/profile_sync_service_test_harness.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_LIVE_SYNC_PROFILE_SYNC_SERVICE_TEST_HARNESS_H_
#define CHROME_TEST_LIVE_SYNC_PROFILE_SYNC_SERVICE_TEST_HARNESS_H_
+#pragma once
#include <string>
#include <vector>
diff --git a/chrome/test/menu_model_test.h b/chrome/test/menu_model_test.h
index 06eaf24..987b409 100644
--- a/chrome/test/menu_model_test.h
+++ b/chrome/test/menu_model_test.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_MENU_MODEL_TEST_H_
#define CHROME_TEST_MENU_MODEL_TEST_H_
+#pragma once
#include "app/menus/simple_menu_model.h"
diff --git a/chrome/test/mini_installer_test/chrome_mini_installer.h b/chrome/test/mini_installer_test/chrome_mini_installer.h
index 4ee0080..1d8030f 100644
--- a/chrome/test/mini_installer_test/chrome_mini_installer.h
+++ b/chrome/test/mini_installer_test/chrome_mini_installer.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_MINI_INSTALLER_TEST_CHROME_MINI_INSTALLER_H_
#define CHROME_TEST_MINI_INSTALLER_TEST_CHROME_MINI_INSTALLER_H_
+#pragma once
#include <windows.h>
#include <string>
diff --git a/chrome/test/mini_installer_test/mini_installer_test_constants.h b/chrome/test/mini_installer_test/mini_installer_test_constants.h
index 87f7df1..bb8ad2c 100644
--- a/chrome/test/mini_installer_test/mini_installer_test_constants.h
+++ b/chrome/test/mini_installer_test/mini_installer_test_constants.h
@@ -6,6 +6,7 @@
#ifndef CHROME_TEST_MINI_INSTALLER_TEST_MINI_INSTALLER_TEST_CONSTANTS_H__
#define CHROME_TEST_MINI_INSTALLER_TEST_MINI_INSTALLER_TEST_CONSTANTS_H__
+#pragma once
namespace mini_installer_constants {
diff --git a/chrome/test/mini_installer_test/mini_installer_test_util.h b/chrome/test/mini_installer_test/mini_installer_test_util.h
index f6aadf1..1206751 100644
--- a/chrome/test/mini_installer_test/mini_installer_test_util.h
+++ b/chrome/test/mini_installer_test/mini_installer_test_util.h
@@ -8,6 +8,7 @@
#ifndef CHROME_TEST_MINI_INSTALLER_TEST_MINI_INSTALLER_TEST_UTIL_H_
#define CHROME_TEST_MINI_INSTALLER_TEST_MINI_INSTALLER_TEST_UTIL_H_
+#pragma once
#include <windows.h>
#include <vector>
diff --git a/chrome/test/model_test_utils.h b/chrome/test/model_test_utils.h
index 1d5c3c6..25e6a67 100644
--- a/chrome/test/model_test_utils.h
+++ b/chrome/test/model_test_utils.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_MODEL_TEST_UTILS_H_
#define CHROME_TEST_MODEL_TEST_UTILS_H_
+#pragma once
#include <string>
diff --git a/chrome/test/nacl/nacl_sandbox_test.h b/chrome/test/nacl/nacl_sandbox_test.h
index 578535a..f5ed74a 100644
--- a/chrome/test/nacl/nacl_sandbox_test.h
+++ b/chrome/test/nacl/nacl_sandbox_test.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_NACL_NACL_SANDBOX_TEST_H_
#define CHROME_TEST_NACL_NACL_SANDBOX_TEST_H_
+#pragma once
#include "chrome/test/nacl/nacl_test.h"
diff --git a/chrome/test/nacl/nacl_test.h b/chrome/test/nacl/nacl_test.h
index e9519e9..ce7ee77 100644
--- a/chrome/test/nacl/nacl_test.h
+++ b/chrome/test/nacl/nacl_test.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_NACL_NACL_TEST_H_
#define CHROME_TEST_NACL_NACL_TEST_H_
+#pragma once
#include "chrome/test/ui/ui_test.h"
diff --git a/chrome/test/nacl/nacl_ui_test.h b/chrome/test/nacl/nacl_ui_test.h
index 1b82c12..8e5b6d0 100644
--- a/chrome/test/nacl/nacl_ui_test.h
+++ b/chrome/test/nacl/nacl_ui_test.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_NACL_NACL_UI_TEST_H_
#define CHROME_TEST_NACL_NACL_UI_TEST_H_
+#pragma once
#include "chrome/test/nacl/nacl_test.h"
diff --git a/chrome/test/nacl_security_tests/commands_posix.h b/chrome/test/nacl_security_tests/commands_posix.h
index 95d5647..fdcef30 100644
--- a/chrome/test/nacl_security_tests/commands_posix.h
+++ b/chrome/test/nacl_security_tests/commands_posix.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_NACL_SECURITY_TESTS_COMMANDS_POSIX_H_
#define CHROME_TEST_NACL_SECURITY_TESTS_COMMANDS_POSIX_H_
+#pragma once
// TODO(jvoung): factor out the SboxTestResult from
// sandbox/tests/common/controller.h
diff --git a/chrome/test/nacl_security_tests/nacl_security_tests_posix.h b/chrome/test/nacl_security_tests/nacl_security_tests_posix.h
index 251e3f0..000a0bd 100644
--- a/chrome/test/nacl_security_tests/nacl_security_tests_posix.h
+++ b/chrome/test/nacl_security_tests/nacl_security_tests_posix.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_NACL_SECURITY_TESTS_NACL_SECURITY_TESTS_POSIX_H_
#define CHROME_TEST_NACL_SECURITY_TESTS_NACL_SECURITY_TESTS_POSIX_H_
+#pragma once
// Runs security tests against the outer sandbox of the nacl loader process.
extern "C" bool RunNaClLoaderTests(void);
diff --git a/chrome/test/nacl_security_tests/nacl_security_tests_win.h b/chrome/test/nacl_security_tests/nacl_security_tests_win.h
index 5e3bda6..3239adb 100644
--- a/chrome/test/nacl_security_tests/nacl_security_tests_win.h
+++ b/chrome/test/nacl_security_tests/nacl_security_tests_win.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_NACL_SECURITY_TESTS_NACL_SECURITY_TESTS_WIN_H_
#define CHROME_TEST_NACL_SECURITY_TESTS_NACL_SECURITY_TESTS_WIN_H_
+#pragma once
// Runs security tests against the outer sandbox of the nacl loader process.
extern "C" bool __declspec(dllexport) RunNaClLoaderTests(void);
diff --git a/chrome/test/profile_mock.h b/chrome/test/profile_mock.h
index d7e564bf..67f7ee2 100644
--- a/chrome/test/profile_mock.h
+++ b/chrome/test/profile_mock.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_PROFILE_MOCK_H__
#define CHROME_TEST_PROFILE_MOCK_H__
+#pragma once
#include "chrome/test/testing_profile.h"
diff --git a/chrome/test/pyautolib/pyautolib.h b/chrome/test/pyautolib/pyautolib.h
index e2a35f1..d14eec9 100644
--- a/chrome/test/pyautolib/pyautolib.h
+++ b/chrome/test/pyautolib/pyautolib.h
@@ -7,6 +7,7 @@
#ifndef CHROME_TEST_PYAUTOLIB_PYAUTOLIB_H_
#define CHROME_TEST_PYAUTOLIB_PYAUTOLIB_H_
+#pragma once
#include "base/message_loop.h"
#include "base/scoped_nsautorelease_pool.h"
diff --git a/chrome/test/reliability/page_load_test.h b/chrome/test/reliability/page_load_test.h
index 12c26d1..c003279 100644
--- a/chrome/test/reliability/page_load_test.h
+++ b/chrome/test/reliability/page_load_test.h
@@ -7,6 +7,7 @@
#ifndef CHROME_TEST_RELIABILITY_PAGE_LOAD_TEST_H_
#define CHROME_TEST_RELIABILITY_PAGE_LOAD_TEST_H_
+#pragma once
#include "base/command_line.h"
diff --git a/chrome/test/reliability/reliability_test_suite.h b/chrome/test/reliability/reliability_test_suite.h
index a161d8a..43f48d9 100644
--- a/chrome/test/reliability/reliability_test_suite.h
+++ b/chrome/test/reliability/reliability_test_suite.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_RELIABILITY_RELIABILITY_TEST_SUITE_H_
#define CHROME_TEST_RELIABILITY_RELIABILITY_TEST_SUITE_H_
+#pragma once
#include "chrome/test/reliability/page_load_test.h"
#include "chrome/test/ui/ui_test_suite.h"
diff --git a/chrome/test/render_view_test.h b/chrome/test/render_view_test.h
index 817a478..18d9a19f 100644
--- a/chrome/test/render_view_test.h
+++ b/chrome/test/render_view_test.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_RENDER_VIEW_TEST_H_
#define CHROME_TEST_RENDER_VIEW_TEST_H_
+#pragma once
#include <string>
diff --git a/chrome/test/security_tests/ipc_security_tests.h b/chrome/test/security_tests/ipc_security_tests.h
index c036dc2..e201a8c 100644
--- a/chrome/test/security_tests/ipc_security_tests.h
+++ b/chrome/test/security_tests/ipc_security_tests.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_SECURITY_TESTS_IPC_SECURITY_TESTS_H__
#define CHROME_TEST_SECURITY_TESTS_IPC_SECURITY_TESTS_H__
+#pragma once
// Impersonates a chrome server pipe. See the implementation for details.
// Returns false if the attack could not be set. If it returns true then
diff --git a/chrome/test/sync/engine/mock_connection_manager.h b/chrome/test/sync/engine/mock_connection_manager.h
index 0e4759d..685624f 100644
--- a/chrome/test/sync/engine/mock_connection_manager.h
+++ b/chrome/test/sync/engine/mock_connection_manager.h
@@ -6,6 +6,7 @@
#ifndef CHROME_TEST_SYNC_ENGINE_MOCK_CONNECTION_MANAGER_H_
#define CHROME_TEST_SYNC_ENGINE_MOCK_CONNECTION_MANAGER_H_
+#pragma once
#include <bitset>
#include <string>
diff --git a/chrome/test/sync/engine/mock_gaia_authenticator.h b/chrome/test/sync/engine/mock_gaia_authenticator.h
index 7eff11a..e882e9b 100644
--- a/chrome/test/sync/engine/mock_gaia_authenticator.h
+++ b/chrome/test/sync/engine/mock_gaia_authenticator.h
@@ -22,6 +22,7 @@
#ifndef CHROME_TEST_SYNC_ENGINE_MOCK_GAIA_AUTHENTICATOR_H_
#define CHROME_TEST_SYNC_ENGINE_MOCK_GAIA_AUTHENTICATOR_H_
+#pragma once
#include <map>
#include <string>
diff --git a/chrome/test/sync/engine/proto_extension_validator.h b/chrome/test/sync/engine/proto_extension_validator.h
index b4246d7..7912edb 100644
--- a/chrome/test/sync/engine/proto_extension_validator.h
+++ b/chrome/test/sync/engine/proto_extension_validator.h
@@ -18,6 +18,7 @@
#ifndef CHROME_TEST_SYNC_ENGINE_PROTO_EXTENSION_VALIDATOR_H_
#define CHROME_TEST_SYNC_ENGINE_PROTO_EXTENSION_VALIDATOR_H_
+#pragma once
#include <vector>
diff --git a/chrome/test/sync/engine/syncer_command_test.h b/chrome/test/sync/engine/syncer_command_test.h
index 719a22d..eed8def 100644
--- a/chrome/test/sync/engine/syncer_command_test.h
+++ b/chrome/test/sync/engine/syncer_command_test.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_SYNC_ENGINE_SYNCER_COMMAND_TEST_H_
#define CHROME_TEST_SYNC_ENGINE_SYNCER_COMMAND_TEST_H_
+#pragma once
#include <vector>
diff --git a/chrome/test/sync/engine/test_directory_setter_upper.h b/chrome/test/sync/engine/test_directory_setter_upper.h
index b5d5be1..ecaa08cb 100644
--- a/chrome/test/sync/engine/test_directory_setter_upper.h
+++ b/chrome/test/sync/engine/test_directory_setter_upper.h
@@ -29,6 +29,7 @@
#ifndef CHROME_TEST_SYNC_ENGINE_TEST_DIRECTORY_SETTER_UPPER_H_
#define CHROME_TEST_SYNC_ENGINE_TEST_DIRECTORY_SETTER_UPPER_H_
+#pragma once
#include <string>
diff --git a/chrome/test/sync/engine/test_id_factory.h b/chrome/test/sync/engine/test_id_factory.h
index 36f5996..70f4bba 100644
--- a/chrome/test/sync/engine/test_id_factory.h
+++ b/chrome/test/sync/engine/test_id_factory.h
@@ -6,6 +6,7 @@
#ifndef CHROME_TEST_SYNC_ENGINE_TEST_ID_FACTORY_H_
#define CHROME_TEST_SYNC_ENGINE_TEST_ID_FACTORY_H_
+#pragma once
#include <string>
diff --git a/chrome/test/sync/engine/test_syncable_utils.h b/chrome/test/sync/engine/test_syncable_utils.h
index 05cecb6..005f46c 100644
--- a/chrome/test/sync/engine/test_syncable_utils.h
+++ b/chrome/test/sync/engine/test_syncable_utils.h
@@ -7,6 +7,7 @@
#ifndef CHROME_TEST_SYNC_ENGINE_TEST_SYNCABLE_UTILS_H_
#define CHROME_TEST_SYNC_ENGINE_TEST_SYNCABLE_UTILS_H_
+#pragma once
#include <string>
diff --git a/chrome/test/sync/test_http_bridge_factory.h b/chrome/test/sync/test_http_bridge_factory.h
index 6e3cc80..9f82711 100644
--- a/chrome/test/sync/test_http_bridge_factory.h
+++ b/chrome/test/sync/test_http_bridge_factory.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_SYNC_TEST_HTTP_BRIDGE_FACTORY_H_
#define CHROME_TEST_SYNC_TEST_HTTP_BRIDGE_FACTORY_H_
+#pragma once
#include "chrome/browser/sync/engine/syncapi.h"
diff --git a/chrome/test/test_browser_window.h b/chrome/test/test_browser_window.h
index dce5af1..4ac3d1c 100644
--- a/chrome/test/test_browser_window.h
+++ b/chrome/test/test_browser_window.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_TEST_BROWSER_WINDOW_H_
#define CHROME_TEST_TEST_BROWSER_WINDOW_H_
+#pragma once
#include "chrome/browser/browser.h"
#include "chrome/browser/browser_window.h"
diff --git a/chrome/test/test_launcher/test_runner.h b/chrome/test/test_launcher/test_runner.h
index 9c743f8..07524b1 100644
--- a/chrome/test/test_launcher/test_runner.h
+++ b/chrome/test/test_launcher/test_runner.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_TEST_LAUNCHER_TEST_RUNNER_H_
#define CHROME_TEST_TEST_LAUNCHER_TEST_RUNNER_H_
+#pragma once
#include <string>
#include <vector>
diff --git a/chrome/test/test_location_bar.h b/chrome/test/test_location_bar.h
index 78fabde..571823ad7 100644
--- a/chrome/test/test_location_bar.h
+++ b/chrome/test/test_location_bar.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_TEST_LOCATION_BAR_H_
#define CHROME_TEST_TEST_LOCATION_BAR_H_
+#pragma once
#include "chrome/browser/first_run.h"
#include "chrome/browser/location_bar.h"
diff --git a/chrome/test/test_notification_tracker.h b/chrome/test/test_notification_tracker.h
index 2307b4b..bb04c9b 100644
--- a/chrome/test/test_notification_tracker.h
+++ b/chrome/test/test_notification_tracker.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_TEST_NOTIFICATION_TRACKER_H_
#define CHROME_TEST_TEST_NOTIFICATION_TRACKER_H_
+#pragma once
#include <vector>
diff --git a/chrome/test/testing_browser_process.h b/chrome/test/testing_browser_process.h
index a954e10..abbd179 100644
--- a/chrome/test/testing_browser_process.h
+++ b/chrome/test/testing_browser_process.h
@@ -9,6 +9,7 @@
#ifndef CHROME_TEST_TESTING_BROWSER_PROCESS_H_
#define CHROME_TEST_TESTING_BROWSER_PROCESS_H_
+#pragma once
#include "build/build_config.h"
diff --git a/chrome/test/testing_pref_service.h b/chrome/test/testing_pref_service.h
index 8155a84..d4512d9 100644
--- a/chrome/test/testing_pref_service.h
+++ b/chrome/test/testing_pref_service.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_TESTING_PREF_SERVICE_H_
#define CHROME_TEST_TESTING_PREF_SERVICE_H_
+#pragma once
#include <chrome/browser/pref_service.h>
diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h
index b23435e..36f638f 100644
--- a/chrome/test/testing_profile.h
+++ b/chrome/test/testing_profile.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_TESTING_PROFILE_H_
#define CHROME_TEST_TESTING_PROFILE_H_
+#pragma once
#include "base/base_paths.h"
#include "base/file_util.h"
diff --git a/chrome/test/thread_observer_helper.h b/chrome/test/thread_observer_helper.h
index b8ccc04..3a6dbcd 100644
--- a/chrome/test/thread_observer_helper.h
+++ b/chrome/test/thread_observer_helper.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_THREAD_OBSERVER_HELPER_H__
#define CHROME_TEST_THREAD_OBSERVER_HELPER_H__
+#pragma once
#include "base/ref_counted.h"
#include "base/waitable_event.h"
diff --git a/chrome/test/ui/javascript_test_util.h b/chrome/test/ui/javascript_test_util.h
index 1619fc0..219aa06 100644
--- a/chrome/test/ui/javascript_test_util.h
+++ b/chrome/test/ui/javascript_test_util.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_UI_JAVASCRIPT_TEST_UTIL_H_
#define CHROME_TEST_UI_JAVASCRIPT_TEST_UTIL_H_
+#pragma once
#include <string>
#include <map>
diff --git a/chrome/test/ui/npapi_test_helper.h b/chrome/test/ui/npapi_test_helper.h
index ca75cfa..b648fc7 100644
--- a/chrome/test/ui/npapi_test_helper.h
+++ b/chrome/test/ui/npapi_test_helper.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_UI_NPAPI_TEST_HELPER_H_
#define CHROME_TEST_UI_NPAPI_TEST_HELPER_H_
+#pragma once
#include "chrome/test/ui/ui_test.h"
diff --git a/chrome/test/ui/ui_layout_test.h b/chrome/test/ui/ui_layout_test.h
index 60de501..4d0cc97 100644
--- a/chrome/test/ui/ui_layout_test.h
+++ b/chrome/test/ui/ui_layout_test.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_UI_UI_LAYOUT_TEST_H_
#define CHROME_TEST_UI_UI_LAYOUT_TEST_H_
+#pragma once
#include "base/file_path.h"
#include "chrome/test/ui/ui_test.h"
diff --git a/chrome/test/ui/ui_test.h b/chrome/test/ui/ui_test.h
index 859c2bb..01e2e79 100644
--- a/chrome/test/ui/ui_test.h
+++ b/chrome/test/ui/ui_test.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_UI_UI_TEST_H_
#define CHROME_TEST_UI_UI_TEST_H_
+#pragma once
// This file provides a common base for running UI unit tests, which operate
// the entire browser application in a separate process for holistic
diff --git a/chrome/test/ui/ui_test_suite.h b/chrome/test/ui/ui_test_suite.h
index 6354d5f..47ce2ca 100644
--- a/chrome/test/ui/ui_test_suite.h
+++ b/chrome/test/ui/ui_test_suite.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_UI_UI_TEST_SUITE_H_
#define CHROME_TEST_UI_UI_TEST_SUITE_H_
+#pragma once
#include "base/process.h"
#include "chrome/test/ui/ui_test.h"
diff --git a/chrome/test/ui_test_utils.h b/chrome/test/ui_test_utils.h
index d852e57..5949f51 100644
--- a/chrome/test/ui_test_utils.h
+++ b/chrome/test/ui_test_utils.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_UI_TEST_UTILS_H_
#define CHROME_TEST_UI_TEST_UTILS_H_
+#pragma once
#include <map>
#include <string>
diff --git a/chrome/test/unit/chrome_test_suite.h b/chrome/test/unit/chrome_test_suite.h
index 9defe5b..97d7140 100644
--- a/chrome/test/unit/chrome_test_suite.h
+++ b/chrome/test/unit/chrome_test_suite.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_UNIT_CHROME_TEST_SUITE_H_
#define CHROME_TEST_UNIT_CHROME_TEST_SUITE_H_
+#pragma once
#include <string>
diff --git a/chrome/test/v8_unit_test.h b/chrome/test/v8_unit_test.h
index 7e05783..31ec1d4 100644
--- a/chrome/test/v8_unit_test.h
+++ b/chrome/test/v8_unit_test.h
@@ -4,6 +4,7 @@
#ifndef CHROME_TEST_V8_UNIT_TEST_H_
#define CHROME_TEST_V8_UNIT_TEST_H_
+#pragma once
#include <string>