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

Unified Diff: chrome/renderer/renderer_main.cc

Issue 17426: remove chrome dependencies from win sandboxing headers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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
Index: chrome/renderer/renderer_main.cc
===================================================================
--- chrome/renderer/renderer_main.cc (revision 7732)
+++ chrome/renderer/renderer_main.cc (working copy)
@@ -13,6 +13,7 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/common/l10n_util.h"
#include "chrome/common/logging_chrome.h"
+#include "chrome/common/main_function_params.h"
#include "chrome/common/resource_bundle.h"
#include "chrome/renderer/render_process.h"
#include "chrome/test/injection_test_dll.h"
@@ -44,8 +45,11 @@
}
// mainline routine for running as the Rendererer process
-int RendererMain(CommandLine &parsed_command_line,
- sandbox::TargetServices* target_services) {
+int RendererMain(const MainFunctionParams& parameters) {
+ CommandLine& parsed_command_line = parameters.command_line_;
+ sandbox::TargetServices* target_services =
+ parameters.sandbox_info_.TargetServices();
+
StatsScope<StatsCounterTimer>
startup_timer(chrome::Counters::renderer_main());

Powered by Google App Engine
This is Rietveld 408576698