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

Unified Diff: chrome/browser/sandbox_policy.cc

Issue 345021: Continue to remove CHROME_FRAME_BUILD define from code that goes into chrome.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/browser/sandbox_policy.cc
===================================================================
--- chrome/browser/sandbox_policy.cc (revision 30960)
+++ chrome/browser/sandbox_policy.cc (working copy)
@@ -364,6 +364,13 @@
}
#endif
+ // Propagate the Chrome Frame flag to sandboxed processes if present.
+ if (browser_command_line.HasSwitch(switches::kChromeFrame)) {
+ if (!cmd_line->HasSwitch(switches::kChromeFrame)) {
+ cmd_line->AppendSwitch(switches::kChromeFrame);
+ }
+ }
+
bool child_needs_help =
DebugFlags::ProcessDebugFlags(cmd_line, type, in_sandbox);

Powered by Google App Engine
This is Rietveld 408576698