| 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 "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 // (Note that a page can reference content from multiple origins due to images, | 485 // (Note that a page can reference content from multiple origins due to images, |
| 486 // JavaScript files, etc. Cross-site iframes are also loaded in-process.) | 486 // JavaScript files, etc. Cross-site iframes are also loaded in-process.) |
| 487 // 2) Only has authority to see or use cookies for the page's top-level origin. | 487 // 2) Only has authority to see or use cookies for the page's top-level origin. |
| 488 // (So if a.com iframes b.com, the b.com network request will be sent without | 488 // (So if a.com iframes b.com, the b.com network request will be sent without |
| 489 // cookies.) | 489 // cookies.) |
| 490 // This is expected to break compatibility with many pages for now. Unlike the | 490 // This is expected to break compatibility with many pages for now. Unlike the |
| 491 // --site-per-process flag, this allows cross-site iframes, but it blocks all | 491 // --site-per-process flag, this allows cross-site iframes, but it blocks all |
| 492 // cookies on cross-site requests. | 492 // cookies on cross-site requests. |
| 493 const char kEnableStrictSiteIsolation[] = "enable-strict-site-isolation"; | 493 const char kEnableStrictSiteIsolation[] = "enable-strict-site-isolation"; |
| 494 | 494 |
| 495 // Enable support for ServiceWorker. See | |
| 496 // https://github.com/slightlyoff/ServiceWorker for more information. | |
| 497 const char kEnableServiceWorker[] = "enable-service-worker"; | |
| 498 | |
| 499 // Enable support for sync events in ServiceWorkers. | 495 // Enable support for sync events in ServiceWorkers. |
| 500 const char kEnableServiceWorkerSync[] = "enable-service-worker-sync"; | 496 const char kEnableServiceWorkerSync[] = "enable-service-worker-sync"; |
| 501 | 497 |
| 502 // Enable use of experimental TCP sockets API for sending data in the | 498 // Enable use of experimental TCP sockets API for sending data in the |
| 503 // SYN packet. | 499 // SYN packet. |
| 504 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 500 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
| 505 | 501 |
| 506 // Enable multithreaded GPU compositing of web content. | 502 // Enable multithreaded GPU compositing of web content. |
| 507 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; | 503 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; |
| 508 | 504 |
| (...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 972 // Enable the Win32K process mitigation policy for renderer processes which | 968 // Enable the Win32K process mitigation policy for renderer processes which |
| 973 // prevents them from invoking user32 and gdi32 system calls which enter | 969 // prevents them from invoking user32 and gdi32 system calls which enter |
| 974 // the kernel. This is only supported on Windows 8 and beyond. | 970 // the kernel. This is only supported on Windows 8 and beyond. |
| 975 const char kEnableWin32kRendererLockDown[] | 971 const char kEnableWin32kRendererLockDown[] |
| 976 = "enable_win32k_renderer_lockdown"; | 972 = "enable_win32k_renderer_lockdown"; |
| 977 #endif | 973 #endif |
| 978 | 974 |
| 979 // Don't dump stuff here, follow the same order as the header. | 975 // Don't dump stuff here, follow the same order as the header. |
| 980 | 976 |
| 981 } // namespace switches | 977 } // namespace switches |
| OLD | NEW |