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

Side by Side Diff: content/common/content_switches.cc

Issue 6995121: New NaCl zygote implementation 2 (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Enable with command-line flag, pass channel ID from zygote Created 9 years, 6 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "content/common/content_switches.h" 5 #include "content/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. 263 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3.
264 const char kLoggingLevel[] = "log-level"; 264 const char kLoggingLevel[] = "log-level";
265 265
266 // Make plugin processes log their sent and received messages to VLOG(1). 266 // Make plugin processes log their sent and received messages to VLOG(1).
267 const char kLogPluginMessages[] = "log-plugin-messages"; 267 const char kLogPluginMessages[] = "log-plugin-messages";
268 268
269 // Causes the process to run as a NativeClient broker 269 // Causes the process to run as a NativeClient broker
270 // (used for launching NaCl loader processes on 64-bit Windows). 270 // (used for launching NaCl loader processes on 64-bit Windows).
271 const char kNaClBrokerProcess[] = "nacl-broker"; 271 const char kNaClBrokerProcess[] = "nacl-broker";
272 272
273 // Enables experimental lightweight Native Client launcher for Linux
274 // Value is the path to the helper binary.
275 const char kNaClLinuxHelper[] = "nacl-linux-helper";
276
273 // Causes the process to run as a NativeClient loader. 277 // Causes the process to run as a NativeClient loader.
274 const char kNaClLoaderProcess[] = "nacl-loader"; 278 const char kNaClLoaderProcess[] = "nacl-loader";
275 279
276 // By default, an https page can load images, fonts or frames from an http page. 280 // By default, an https page can load images, fonts or frames from an http page.
277 // This switch overrides this to block this lesser mixed-content problem. 281 // This switch overrides this to block this lesser mixed-content problem.
278 const char kNoDisplayingInsecureContent[] = "no-displaying-insecure-content"; 282 const char kNoDisplayingInsecureContent[] = "no-displaying-insecure-content";
279 283
280 // Support a separate switch that enables the v8 playback extension. 284 // Support a separate switch that enables the v8 playback extension.
281 // The extension causes javascript calls to Date.now() and Math.random() 285 // The extension causes javascript calls to Date.now() and Math.random()
282 // to return consistent values, such that subsequent loads of the same 286 // to return consistent values, such that subsequent loads of the same
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 // Enable Pepper and JavaScript P2P API. 463 // Enable Pepper and JavaScript P2P API.
460 const char kEnableP2PApi[] = "enable-p2papi"; 464 const char kEnableP2PApi[] = "enable-p2papi";
461 #endif 465 #endif
462 466
463 #if !defined(OFFICIAL_BUILD) 467 #if !defined(OFFICIAL_BUILD)
464 // Causes the renderer process to throw an assertion on launch. 468 // Causes the renderer process to throw an assertion on launch.
465 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; 469 const char kRendererCheckFalseTest[] = "renderer-check-false-test";
466 #endif 470 #endif
467 471
468 } // namespace switches 472 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698