diff options
author | kaiwang@chromium.org <kaiwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-02 23:34:32 +0000 |
---|---|---|
committer | kaiwang@chromium.org <kaiwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-02 23:34:32 +0000 |
commit | c480510971c82441db58c703e2da83fa443ed2a5 (patch) | |
tree | a39634471c00d2bef0054126e4a68a49ee5c77b9 /content/browser/browser_main_loop.cc | |
parent | dbca8f17210647350127201d6c2288cac82031ef (diff) | |
download | chromium_src-c480510971c82441db58c703e2da83fa443ed2a5.zip chromium_src-c480510971c82441db58c703e2da83fa443ed2a5.tar.gz chromium_src-c480510971c82441db58c703e2da83fa443ed2a5.tar.bz2 |
Add a boolean histogram "Chrome.CommandLineUseSystemSSL" to keep track of
"--use-system-ssl" usage. The flag forces the user to use SSLClientSocket[Mac,
Win], instead of the default NSS SSL implementation.
I also changed the order of initialize callings in
BrowserMainRunnerImpl::Initialize(), because originally the StatisticsRecorder
was created after main loop flag parsing so the new histogram can not be
recorded. Since StatisticsRecorder has few dependencies, I think this will
not have negative effect.
BUG=102003
Review URL: http://codereview.chromium.org/9570052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124770 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/browser_main_loop.cc')
-rw-r--r-- | content/browser/browser_main_loop.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc index af21209..a6e6132 100644 --- a/content/browser/browser_main_loop.cc +++ b/content/browser/browser_main_loop.cc @@ -259,6 +259,7 @@ void BrowserMainLoop::EarlyInitialization() { } else { init_nspr = true; } + UMA_HISTOGRAM_BOOLEAN("Chrome.CommandLineUseSystemSSL", !init_nspr); #elif defined(USE_NSS) init_nspr = true; #endif |