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

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

Issue 183153002: Make shared worker aware kEnableSharedWorkerMemoryInfo switch (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 6 years, 8 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/worker/websharedworker_stub.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 // Force logging to be enabled. Logging is disabled by default in release 468 // Force logging to be enabled. Logging is disabled by default in release
469 // builds. 469 // builds.
470 const char kEnableLogging[] = "enable-logging"; 470 const char kEnableLogging[] = "enable-logging";
471 471
472 // Enable rasterizer that writes directly to GPU memory. 472 // Enable rasterizer that writes directly to GPU memory.
473 const char kEnableMapImage[] = "enable-map-image"; 473 const char kEnableMapImage[] = "enable-map-image";
474 474
475 // Enables the memory benchmarking extension 475 // Enables the memory benchmarking extension
476 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; 476 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking";
477 477
478 // Make the values returned to window.performance.memory more granular and more
479 // up to date in shared worker. Without this flag, the memory information is
480 // still available, but it is bucketized and updated less frequently.
481 const char kEnableSharedWorkerMemoryInfo[] =
482 "enable-shared-worker-memory-info";
483
478 // On Windows, converts the page to the currently-installed monitor profile. 484 // On Windows, converts the page to the currently-installed monitor profile.
479 // This does NOT enable color management for images. The source is still 485 // This does NOT enable color management for images. The source is still
480 // assumed to be sRGB. 486 // assumed to be sRGB.
481 const char kEnableMonitorProfile[] = "enable-monitor-profile"; 487 const char kEnableMonitorProfile[] = "enable-monitor-profile";
482 488
483 // Enables use of cache if offline, even if it's stale 489 // Enables use of cache if offline, even if it's stale
484 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; 490 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access";
485 491
486 // Enables use of hardware overlay for fullscreen video playback. Android only. 492 // Enables use of hardware overlay for fullscreen video playback. Android only.
487 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; 493 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video";
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
1034 1040
1035 // Disables support for Core Animation plugins. This is triggered when 1041 // Disables support for Core Animation plugins. This is triggered when
1036 // accelerated compositing is disabled. See http://crbug.com/122430 . 1042 // accelerated compositing is disabled. See http://crbug.com/122430 .
1037 const char kDisableCoreAnimationPlugins[] = 1043 const char kDisableCoreAnimationPlugins[] =
1038 "disable-core-animation-plugins"; 1044 "disable-core-animation-plugins";
1039 #endif 1045 #endif
1040 1046
1041 // Don't dump stuff here, follow the same order as the header. 1047 // Don't dump stuff here, follow the same order as the header.
1042 1048
1043 } // namespace switches 1049 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/worker/websharedworker_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698