diff options
author | munjal@chromium.org <munjal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 23:20:29 +0000 |
---|---|---|
committer | munjal@chromium.org <munjal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 23:20:29 +0000 |
commit | bb95ef9e93adfba1f5ab46de4ae9d523f12ca31c (patch) | |
tree | 5916529ffa051b8b17bb007710ea23b0ab1b80fb /chrome/browser/views/frame/browser_view.cc | |
parent | 80dc5f272b75cddfbb43dc78653cd8ec6a858c54 (diff) | |
download | chromium_src-bb95ef9e93adfba1f5ab46de4ae9d523f12ca31c.zip chromium_src-bb95ef9e93adfba1f5ab46de4ae9d523f12ca31c.tar.gz chromium_src-bb95ef9e93adfba1f5ab46de4ae9d523f12ca31c.tar.bz2 |
Add a command-line disable-p13n and use that to disable
p13n related features.
Review URL: http://codereview.chromium.org/39029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11050 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/frame/browser_view.cc')
-rw-r--r-- | chrome/browser/views/frame/browser_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc index 9f8ae58..207f059 100644 --- a/chrome/browser/views/frame/browser_view.cc +++ b/chrome/browser/views/frame/browser_view.cc @@ -463,7 +463,7 @@ void BrowserView::Init() { #ifdef CHROME_PERSONALIZATION const CommandLine& command_line = *CommandLine::ForCurrentProcess(); - EnablePersonalization(command_line.HasSwitch(switches::kEnableP13n)); + EnablePersonalization(!command_line.HasSwitch(switches::kDisableP13n)); if (IsPersonalizationEnabled()) { personalization_ = Personalization::CreateFramePersonalization( browser_->profile(), this); |