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

Unified Diff: content/public/common/main_function_params.h

Issue 190853004: Convert ContentMain to take a struct instead of parameters that vary depending on the platform. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/app/content_main_runner.h ('k') | content/public/test/test_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/main_function_params.h
===================================================================
--- content/public/common/main_function_params.h (revision 255735)
+++ content/public/common/main_function_params.h (working copy)
@@ -9,8 +9,8 @@
#ifndef CONTENT_PUBLIC_COMMON_MAIN_FUNCTION_PARAMS_H_
#define CONTENT_PUBLIC_COMMON_MAIN_FUNCTION_PARAMS_H_
+#include "base/callback_forward.h"
#include "base/command_line.h"
-#include "base/callback_forward.h"
#if defined(OS_WIN)
namespace sandbox {
@@ -34,13 +34,17 @@
#elif defined(OS_MACOSX)
autorelease_pool(NULL),
#endif
- ui_task(NULL) {}
+ ui_task(NULL) {
+ }
+
const CommandLine& command_line;
+
#if defined(OS_WIN)
sandbox::SandboxInterfaceInfo* sandbox_info;
#elif defined(OS_MACOSX)
base::mac::ScopedNSAutoreleasePool* autorelease_pool;
#endif
+
// Used by InProcessBrowserTest. If non-null BrowserMain schedules this
// task to run on the MessageLoop and BrowserInit is not invoked.
base::Closure* ui_task;
« no previous file with comments | « content/public/app/content_main_runner.h ('k') | content/public/test/test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698