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

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

Issue 11829032: Add a histogram for renderer memory usage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 11 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 | Annotate | Revision Log
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 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 // Load an NPAPI plugin from the specified path. 476 // Load an NPAPI plugin from the specified path.
477 const char kLoadPlugin[] = "load-plugin"; 477 const char kLoadPlugin[] = "load-plugin";
478 478
479 // Sets the minimum log level. Valid values are from 0 to 3: 479 // Sets the minimum log level. Valid values are from 0 to 3:
480 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. 480 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3.
481 const char kLoggingLevel[] = "log-level"; 481 const char kLoggingLevel[] = "log-level";
482 482
483 // Make plugin processes log their sent and received messages to VLOG(1). 483 // Make plugin processes log their sent and received messages to VLOG(1).
484 const char kLogPluginMessages[] = "log-plugin-messages"; 484 const char kLogPluginMessages[] = "log-plugin-messages";
485 485
486 // Retrieve memory metrics.
Charlie Reis 2013/01/14 19:59:31 Can you say a little more about what this means?
marja 2013/01/14 20:17:01 Added: // Sample memory usage with high frequency
487 const char kMemoryMetrics[] = "memory-metrics";
488
486 // Causes the process to run as a NativeClient broker 489 // Causes the process to run as a NativeClient broker
487 // (used for launching NaCl loader processes on 64-bit Windows). 490 // (used for launching NaCl loader processes on 64-bit Windows).
488 const char kNaClBrokerProcess[] = "nacl-broker"; 491 const char kNaClBrokerProcess[] = "nacl-broker";
489 492
490 // Causes the process to run as a NativeClient loader. 493 // Causes the process to run as a NativeClient loader.
491 const char kNaClLoaderProcess[] = "nacl-loader"; 494 const char kNaClLoaderProcess[] = "nacl-loader";
492 495
493 // Don't send HTTP-Referer headers. 496 // Don't send HTTP-Referer headers.
494 const char kNoReferrers[] = "no-referrers"; 497 const char kNoReferrers[] = "no-referrers";
495 498
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 = "disable-fixed-position-creates-stacking-context"; 769 = "disable-fixed-position-creates-stacking-context";
767 770
768 // Defer image decoding in WebKit until painting. 771 // Defer image decoding in WebKit until painting.
769 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; 772 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding";
770 773
771 // Enables history navigation in response to horizontal overscroll. 774 // Enables history navigation in response to horizontal overscroll.
772 const char kEnableOverscrollHistoryNavigation[] = 775 const char kEnableOverscrollHistoryNavigation[] =
773 "enable-overscroll-history-navigation"; 776 "enable-overscroll-history-navigation";
774 777
775 } // namespace switches 778 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698