Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: content/public/common/main_function_params.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Wrapper to the parameter list for the "main" entry points (browser, renderer, 5 // Wrapper to the parameter list for the "main" entry points (browser, renderer,
6 // plugin) to shield the call sites from the differences between platforms 6 // plugin) to shield the call sites from the differences between platforms
7 // (e.g., POSIX doesn't need to pass any sandbox information). 7 // (e.g., POSIX doesn't need to pass any sandbox information).
8 8
9 #ifndef CONTENT_PUBLIC_COMMON_MAIN_FUNCTION_PARAMS_H_ 9 #ifndef CONTENT_PUBLIC_COMMON_MAIN_FUNCTION_PARAMS_H_
10 #define CONTENT_PUBLIC_COMMON_MAIN_FUNCTION_PARAMS_H_ 10 #define CONTENT_PUBLIC_COMMON_MAIN_FUNCTION_PARAMS_H_
11 #pragma once
12 11
13 #include "base/command_line.h" 12 #include "base/command_line.h"
14 #include "base/callback_forward.h" 13 #include "base/callback_forward.h"
15 14
16 #if defined(OS_WIN) 15 #if defined(OS_WIN)
17 namespace sandbox { 16 namespace sandbox {
18 struct SandboxInterfaceInfo; 17 struct SandboxInterfaceInfo;
19 } 18 }
20 #elif defined(OS_MACOSX) 19 #elif defined(OS_MACOSX)
21 namespace base { 20 namespace base {
(...skipping 21 matching lines...) Expand all
43 base::mac::ScopedNSAutoreleasePool* autorelease_pool; 42 base::mac::ScopedNSAutoreleasePool* autorelease_pool;
44 #endif 43 #endif
45 // Used by InProcessBrowserTest. If non-null BrowserMain schedules this 44 // Used by InProcessBrowserTest. If non-null BrowserMain schedules this
46 // task to run on the MessageLoop and BrowserInit is not invoked. 45 // task to run on the MessageLoop and BrowserInit is not invoked.
47 base::Closure* ui_task; 46 base::Closure* ui_task;
48 }; 47 };
49 48
50 } // namespace content 49 } // namespace content
51 50
52 #endif // CONTENT_PUBLIC_COMMON_MAIN_FUNCTION_PARAMS_H_ 51 #endif // CONTENT_PUBLIC_COMMON_MAIN_FUNCTION_PARAMS_H_
OLDNEW
« no previous file with comments | « content/public/common/javascript_message_type.h ('k') | content/public/common/page_transition_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698