Skip to content

Commit

Permalink
Remove #pragma once from content
Browse files Browse the repository at this point in the history
Review URL: https://chromiumcodereview.appspot.com/10696166

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
ajwong@chromium.org committed Jul 11, 2012
1 parent 616b4c4 commit f786717
Show file tree
Hide file tree
Showing 644 changed files with 141 additions and 784 deletions.
1 change: 0 additions & 1 deletion content/app/android/content_main.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_APP_ANDROID_CONTENT_MAIN_H_
#define CONTENT_APP_ANDROID_CONTENT_MAIN_H_
#pragma once

#include <jni.h>

Expand Down
1 change: 0 additions & 1 deletion content/app/android/sandboxed_process_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_APP_ANDROID_SANDBOXED_PROCESS_SERVICE_H_
#define CONTENT_APP_ANDROID_SANDBOXED_PROCESS_SERVICE_H_
#pragma once

#include <jni.h>

Expand Down
1 change: 0 additions & 1 deletion content/app/android/user_agent.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_APP_ANDROID_USER_AGENT_H_
#define CONTENT_APP_ANDROID_USER_AGENT_H_
#pragma once

#include <jni.h>
#include <string>
Expand Down
1 change: 0 additions & 1 deletion content/browser/accessibility/browser_accessibility.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
#define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
#pragma once

#include <map>
#include <utility>
Expand Down
3 changes: 1 addition & 2 deletions content/browser/accessibility/browser_accessibility_cocoa.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Copyright (c) 2012 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 CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COCOA_H_
#define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COCOA_H_
#pragma once

#import <Cocoa/Cocoa.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_DELEGATE_MAC_H_
#define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_DELEGATE_MAC_H_
#pragma once

@class BrowserAccessibilityCocoa;
@class NSWindow;
Expand Down
1 change: 0 additions & 1 deletion content/browser/accessibility/browser_accessibility_gtk.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_GTK_H_
#define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_GTK_H_
#pragma once

#include <atk/atk.h>

Expand Down
1 change: 0 additions & 1 deletion content/browser/accessibility/browser_accessibility_mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MAC_H_
#define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MAC_H_
#pragma once

#include <map>
#include <utility>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
#define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
#pragma once

#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_GTK_H_
#define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_GTK_H_
#pragma once

#include "content/browser/accessibility/browser_accessibility_manager.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_MAC_H_
#define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_MAC_H_
#pragma once

#import <Cocoa/Cocoa.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_
#define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_
#pragma once

#include <oleacc.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_STATE_IMPL_H_
#define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_STATE_IMPL_H_
#pragma once

#include "base/basictypes.h"
#include "base/compiler_specific.h"
Expand Down
1 change: 0 additions & 1 deletion content/browser/accessibility/browser_accessibility_win.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_
#define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_
#pragma once

#include <atlbase.h>
#include <atlcom.h>
Expand Down
1 change: 0 additions & 1 deletion content/browser/android/android_browser_process.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_APP_ANDROID_ANDROID_BROWSER_PROCESS_H_
#define CONTENT_APP_ANDROID_ANDROID_BROWSER_PROCESS_H_
#pragma once

#include <jni.h>

Expand Down
1 change: 0 additions & 1 deletion content/browser/android/content_settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_ANDROID_CONTENT_SETTINGS_H_
#define CONTENT_BROWSER_ANDROID_CONTENT_SETTINGS_H_
#pragma once

#include <jni.h>

Expand Down
1 change: 0 additions & 1 deletion content/browser/android/content_startup_flags.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_ANDROID_CONTENT_STARTUP_FLAGS_H_
#define CONTENT_BROWSER_ANDROID_CONTENT_STARTUP_FLAGS_H_
#pragma once

#include <string>

Expand Down
1 change: 0 additions & 1 deletion content/browser/android/content_view_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CLIENT_H_
#define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CLIENT_H_
#pragma once

#include "base/android/jni_helper.h"
#include "base/compiler_specific.h"
Expand Down
1 change: 0 additions & 1 deletion content/browser/android/content_view_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_IMPL_H_
#define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_IMPL_H_
#pragma once

#include "base/android/jni_helper.h"
#include "base/basictypes.h"
Expand Down
1 change: 0 additions & 1 deletion content/browser/android/download_controller.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

#ifndef CONTENT_BROWSER_ANDROID_DOWNLOAD_CONTROLLER_H_
#define CONTENT_BROWSER_ANDROID_DOWNLOAD_CONTROLLER_H_
#pragma once

#include <string>

Expand Down
1 change: 0 additions & 1 deletion content/browser/android/ime_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_ANDROID_IME_UTILS_H_
#define CONTENT_BROWSER_ANDROID_IME_UTILS_H_
#pragma once

#include <jni.h>

Expand Down
1 change: 0 additions & 1 deletion content/browser/android/touch_point.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_ANDROID_TOUCH_POINT_H_
#define CONTENT_BROWSER_ANDROID_TOUCH_POINT_H_
#pragma once

#include <jni.h>

Expand Down
1 change: 0 additions & 1 deletion content/browser/appcache/appcache_dispatcher_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_
#define CONTENT_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_
#pragma once

#include <vector>

Expand Down
3 changes: 1 addition & 2 deletions content/browser/appcache/appcache_frontend_proxy.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Copyright (c) 2012 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 CONTENT_BROWSER_APPCACHE_APPCACHE_FRONTEND_PROXY_H_
#define CONTENT_BROWSER_APPCACHE_APPCACHE_FRONTEND_PROXY_H_
#pragma once

#include <string>
#include <vector>
Expand Down
1 change: 0 additions & 1 deletion content/browser/appcache/chrome_appcache_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_APPCACHE_CHROME_APPCACHE_SERVICE_H_
#define CONTENT_BROWSER_APPCACHE_CHROME_APPCACHE_SERVICE_H_
#pragma once

#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
Expand Down
1 change: 0 additions & 1 deletion content/browser/browser_child_process_host_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
#define CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
#pragma once

#include <list>

Expand Down
3 changes: 1 addition & 2 deletions content/browser/browser_main.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Copyright (c) 2012 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 CONTENT_BROWSER_BROWSER_MAIN_H_
#define CONTENT_BROWSER_BROWSER_MAIN_H_
#pragma once

#include "base/basictypes.h"
#include "content/common/content_export.h"
Expand Down
1 change: 0 additions & 1 deletion content/browser/browser_main_loop.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
#define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
#pragma once

#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
Expand Down
1 change: 0 additions & 1 deletion content/browser/browser_plugin/old/browser_plugin_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_HOST_H__
#define CONTENT_BROWSER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_HOST_H__
#pragma once

#include <map>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_HOST_HELPER_H__
#define CONTENT_BROWSER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_HOST_HELPER_H__
#pragma once

#include <string>

Expand Down
1 change: 0 additions & 1 deletion content/browser/browser_process_sub_thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_BROWSER_PROCESS_SUB_THREAD_H_
#define CONTENT_BROWSER_BROWSER_PROCESS_SUB_THREAD_H_
#pragma once

#include "base/basictypes.h"
#include "content/browser/browser_thread_impl.h"
Expand Down
1 change: 0 additions & 1 deletion content/browser/browser_thread_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_BROWSER_THREAD_IMPL_H_
#define CONTENT_BROWSER_BROWSER_THREAD_IMPL_H_
#pragma once

#include "base/threading/thread.h"
#include "content/common/content_export.h"
Expand Down
3 changes: 1 addition & 2 deletions content/browser/browser_url_handler_impl.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Copyright (c) 2012 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 CONTENT_BROWSER_BROWSER_URL_HANDLER_IMPL_H_
#define CONTENT_BROWSER_BROWSER_URL_HANDLER_IMPL_H_
#pragma once

#include <vector>
#include <utility>
Expand Down
1 change: 0 additions & 1 deletion content/browser/browsing_instance.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_BROWSING_INSTANCE_H_
#define CONTENT_BROWSER_BROWSING_INSTANCE_H_
#pragma once

#include "base/hash_tables.h"
#include "base/lazy_instance.h"
Expand Down
1 change: 0 additions & 1 deletion content/browser/cert_store_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_CERT_STORE_IMPL_H_
#define CONTENT_BROWSER_CERT_STORE_IMPL_H_
#pragma once

#include <map>

Expand Down
1 change: 0 additions & 1 deletion content/browser/child_process_launcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_H_
#define CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_H_
#pragma once

#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
Expand Down
1 change: 0 additions & 1 deletion content/browser/child_process_security_policy_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#ifndef CONTENT_BROWSER_CHILD_PROCESS_SECURITY_POLICY_IMPL_H_
#define CONTENT_BROWSER_CHILD_PROCESS_SECURITY_POLICY_IMPL_H_

#pragma once

#include <map>
#include <set>
Expand Down
1 change: 0 additions & 1 deletion content/browser/cross_site_request_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_CROSS_SITE_REQUEST_MANAGER_H_
#define CONTENT_BROWSER_CROSS_SITE_REQUEST_MANAGER_H_
#pragma once

#include <set>
#include <utility>
Expand Down
1 change: 0 additions & 1 deletion content/browser/debugger/devtools_agent_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_
#define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_AGENT_HOST_H_
#pragma once

#include <string>

Expand Down
1 change: 0 additions & 1 deletion content/browser/debugger/devtools_frontend_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_
#define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_
#pragma once

#include <string>

Expand Down
1 change: 0 additions & 1 deletion content/browser/debugger/devtools_http_handler_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HTTP_HANDLER_IMPL_H_
#define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HTTP_HANDLER_IMPL_H_
#pragma once

#include <map>
#include <set>
Expand Down
1 change: 0 additions & 1 deletion content/browser/debugger/devtools_manager_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_IMPL_H_
#define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_IMPL_H_
#pragma once

#include <map>
#include <string>
Expand Down
1 change: 0 additions & 1 deletion content/browser/debugger/devtools_netlog_observer.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_NETLOG_OBSERVER_H_
#define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_NETLOG_OBSERVER_H_
#pragma once

#include "base/hash_tables.h"
#include "base/memory/ref_counted.h"
Expand Down
1 change: 0 additions & 1 deletion content/browser/debugger/render_view_devtools_agent_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_DEBUGGER_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_
#define CONTENT_BROWSER_DEBUGGER_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_
#pragma once

#include <map>

Expand Down
1 change: 0 additions & 1 deletion content/browser/debugger/worker_devtools_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_DEBUGGER_WORKER_DEVTOOLS_MANAGER_H_
#define CONTENT_BROWSER_DEBUGGER_WORKER_DEVTOOLS_MANAGER_H_
#pragma once

#include <list>
#include <map>
Expand Down
3 changes: 1 addition & 2 deletions content/browser/debugger/worker_devtools_message_filter.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Copyright (c) 2012 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 CONTENT_BROWSER_DEBUGGER_WORKER_DEVTOOLS_MESSAGE_FILTER_H_
#define CONTENT_BROWSER_DEBUGGER_WORKER_DEVTOOLS_MESSAGE_FILTER_H_
#pragma once

#include "base/callback_forward.h"
#include "content/public/browser/browser_message_filter.h"
Expand Down
1 change: 0 additions & 1 deletion content/browser/device_orientation/accelerometer_mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#ifndef CONTENT_BROWSER_DEVICE_ORIENTATION_ACCELEROMETER_MAC_H_
#define CONTENT_BROWSER_DEVICE_ORIENTATION_ACCELEROMETER_MAC_H_
#pragma once

#include <vector>

Expand Down
Loading

0 comments on commit f786717

Please sign in to comment.