diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-24 00:41:43 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-24 00:41:43 +0000 |
commit | 4f6944c63cd597ea42968a03e1a54623a2b914c3 (patch) | |
tree | 8fdfd6c5021bc8f3e76184a36a3cfcb9625d70bf /chrome/common | |
parent | f069e841e7f515bde48bb5f5c9203db4cad3b6d6 (diff) | |
download | chromium_src-4f6944c63cd597ea42968a03e1a54623a2b914c3.zip chromium_src-4f6944c63cd597ea42968a03e1a54623a2b914c3.tar.gz chromium_src-4f6944c63cd597ea42968a03e1a54623a2b914c3.tar.bz2 |
Profiles: Add a --dump-profile-graph option when !NDEBUG.
--dump-profile-graph will create a text file in the profile directory
in graphviz format. The graph is the dumped dependency graph.
BUG=none
R=mirandac
TBR=jhawkins,sky,abodenha,tim
Review URL: http://codereview.chromium.org/9200017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118765 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.cc | 4 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index 63988f8..c61f073 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -1348,6 +1348,10 @@ const char kWebSocketLiveExperimentHost[] = "websocket-live-experiment-host"; // Enables overriding the path of file manager extension. const char kFileManagerExtensionPath[] = "filemgr-ext-path"; + +// Dumps dependency information about our profile services into a dot file in +// the profile directory. +const char kDumpProfileDependencyGraph[] = "dump-profile-graph"; #endif // NDEBUG // Controls print preview in the browser process. diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index efd81cb..f061f02 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -385,6 +385,7 @@ extern const char kTouchDevices[]; extern const char kOAuthHostUrl[]; extern const char kWebSocketLiveExperimentHost[]; extern const char kFileManagerExtensionPath[]; +extern const char kDumpProfileDependencyGraph[]; #endif #if defined(GOOGLE_CHROME_BUILD) |