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

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

Issue 2831683002: Introduce support for origins that require process isolation. (Closed)
Patch Set: Rebase Created 3 years, 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 #include "media/media_features.h" 7 #include "media/media_features.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 // Makes all APIs reflect the layout viewport. 590 // Makes all APIs reflect the layout viewport.
591 const char kInertVisualViewport[] = "inert-visual-viewport"; 591 const char kInertVisualViewport[] = "inert-visual-viewport";
592 592
593 // Run the GPU process as a thread in the browser process. 593 // Run the GPU process as a thread in the browser process.
594 const char kInProcessGPU[] = "in-process-gpu"; 594 const char kInProcessGPU[] = "in-process-gpu";
595 595
596 // Overrides the timeout, in seconds, that a child process waits for a 596 // Overrides the timeout, in seconds, that a child process waits for a
597 // connection from the browser before killing itself. 597 // connection from the browser before killing itself.
598 const char kIPCConnectionTimeout[] = "ipc-connection-timeout"; 598 const char kIPCConnectionTimeout[] = "ipc-connection-timeout";
599 599
600 // Enable process isolation for a set of origins, specified as a
Charlie Reis 2017/05/05 23:18:52 s/Enable process isolation/Require dedicated proce
alexmos 2017/05/16 17:26:38 Done.
601 // comma-separated list. For example:
602 // --isolate-origins=https://www.foo.com,https://www.bar.com
603 const char kIsolateOrigins[] = "isolate-origins";
604
600 // Chrome is running in Mash. 605 // Chrome is running in Mash.
601 const char kIsRunningInMash[] = "is-running-in-mash"; 606 const char kIsRunningInMash[] = "is-running-in-mash";
602 607
603 // Disable latest shipping ECMAScript 6 features. 608 // Disable latest shipping ECMAScript 6 features.
604 const char kDisableJavaScriptHarmonyShipping[] = 609 const char kDisableJavaScriptHarmonyShipping[] =
605 "disable-javascript-harmony-shipping"; 610 "disable-javascript-harmony-shipping";
606 611
607 // Enables experimental Harmony (ECMAScript 6) features. 612 // Enables experimental Harmony (ECMAScript 6) features.
608 const char kJavaScriptHarmony[] = "javascript-harmony"; 613 const char kJavaScriptHarmony[] = "javascript-harmony";
609 614
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 // the given directory. Used primarily to gather samples for IPC fuzzing. 1087 // the given directory. Used primarily to gather samples for IPC fuzzing.
1083 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1088 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1084 1089
1085 // Specifies the testcase used by the IPC fuzzer. 1090 // Specifies the testcase used by the IPC fuzzer.
1086 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1091 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1087 #endif 1092 #endif
1088 1093
1089 // Don't dump stuff here, follow the same order as the header. 1094 // Don't dump stuff here, follow the same order as the header.
1090 1095
1091 } // namespace switches 1096 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698