| OLD | NEW |
| 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 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 713 // - The class comment in site_instance.h, listing the supported process models. | 713 // - The class comment in site_instance.h, listing the supported process models. |
| 714 // | 714 // |
| 715 // IMPORTANT: This isn't to be confused with --site-per-process (which is about | 715 // IMPORTANT: This isn't to be confused with --site-per-process (which is about |
| 716 // isolation, not consolidation). You probably want the other one. | 716 // isolation, not consolidation). You probably want the other one. |
| 717 const char kProcessPerSite[] = "process-per-site"; | 717 const char kProcessPerSite[] = "process-per-site"; |
| 718 | 718 |
| 719 // Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own | 719 // Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own |
| 720 // renderer process. We default to using a renderer process for each | 720 // renderer process. We default to using a renderer process for each |
| 721 // site instance (i.e., group of pages from the same registered domain with | 721 // site instance (i.e., group of pages from the same registered domain with |
| 722 // script connections to each other). | 722 // script connections to each other). |
| 723 // TODO(creis): This flag is currently a no-op. We should refactor it to avoid |
| 724 // "unnecessary" process swaps for cross-site navigations but still swap when |
| 725 // needed for security (e.g., isolated origins). |
| 723 const char kProcessPerTab[] = "process-per-tab"; | 726 const char kProcessPerTab[] = "process-per-tab"; |
| 724 | 727 |
| 725 // The value of this switch determines whether the process is started as a | 728 // The value of this switch determines whether the process is started as a |
| 726 // renderer or plugin host. If it's empty, it's the browser. | 729 // renderer or plugin host. If it's empty, it's the browser. |
| 727 const char kProcessType[] = "type"; | 730 const char kProcessType[] = "type"; |
| 728 | 731 |
| 729 // Uses a specified proxy server, overrides system settings. This switch only | 732 // Uses a specified proxy server, overrides system settings. This switch only |
| 730 // affects HTTP and HTTPS requests. ARC-apps use only HTTP proxy server with the | 733 // affects HTTP and HTTPS requests. ARC-apps use only HTTP proxy server with the |
| 731 // highest priority. | 734 // highest priority. |
| 732 // TODO(yzshen): Move this switch back to chrome/common/chrome_switches.{h,cc}, | 735 // TODO(yzshen): Move this switch back to chrome/common/chrome_switches.{h,cc}, |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1073 // The flag tells the sandbox initialization code inside Chrome that the sandbox | 1076 // The flag tells the sandbox initialization code inside Chrome that the sandbox |
| 1074 // should already be enabled. | 1077 // should already be enabled. |
| 1075 // TODO(kerrnel): Remove this once the V2 sandbox migration is complete, as | 1078 // TODO(kerrnel): Remove this once the V2 sandbox migration is complete, as |
| 1076 // processes will be assumed to run under the V2 sandbox. | 1079 // processes will be assumed to run under the V2 sandbox. |
| 1077 const char kV2SandboxedEnabled[] = "v2-sandbox-enabled"; | 1080 const char kV2SandboxedEnabled[] = "v2-sandbox-enabled"; |
| 1078 #endif // defined(OS_MACOSX) | 1081 #endif // defined(OS_MACOSX) |
| 1079 | 1082 |
| 1080 // Don't dump stuff here, follow the same order as the header. | 1083 // Don't dump stuff here, follow the same order as the header. |
| 1081 | 1084 |
| 1082 } // namespace switches | 1085 } // namespace switches |
| OLD | NEW |