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