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

Unified Diff: chrome/common/main_function_params.h

Issue 18248: CommandLine API rework (Closed)
Patch Set: fixes 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
« no previous file with comments | « chrome/common/logging_chrome_uitest.cc ('k') | chrome/common/pref_service_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/main_function_params.h
diff --git a/chrome/common/main_function_params.h b/chrome/common/main_function_params.h
index b8156ae7bc9d3a1a06a789bd5fed8348a6ce7b2d..e3a1c55afdffc9d08ced58462e0d9016dfac3089 100644
--- a/chrome/common/main_function_params.h
+++ b/chrome/common/main_function_params.h
@@ -12,12 +12,10 @@
#include "base/command_line.h"
#include "chrome/common/sandbox_init_wrapper.h"
-// TODO(pinkerton): |cl| should be const, but can't be due to bug 6144.
-
struct MainFunctionParams {
- MainFunctionParams(CommandLine& cl, const SandboxInitWrapper& sb)
+ MainFunctionParams(const CommandLine& cl, const SandboxInitWrapper& sb)
: command_line_(cl), sandbox_info_(sb) { }
- CommandLine& command_line_;
+ const CommandLine& command_line_;
const SandboxInitWrapper& sandbox_info_;
};
« no previous file with comments | « chrome/common/logging_chrome_uitest.cc ('k') | chrome/common/pref_service_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698