diff options
author | dpolukhin@chromium.org <dpolukhin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-23 06:39:48 +0000 |
---|---|---|
committer | dpolukhin@chromium.org <dpolukhin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-23 06:39:48 +0000 |
commit | 4a4180a50553ddd3699357eee3a79580bfdc3508 (patch) | |
tree | 05fc2b8f68da05c9acf2e88fa4d057434bf4e005 /chrome/app/chrome_dll_main.cc | |
parent | ca6c2a9a99b8a2d560aa830766d64fbe7789bfe1 (diff) | |
download | chromium_src-4a4180a50553ddd3699357eee3a79580bfdc3508.zip chromium_src-4a4180a50553ddd3699357eee3a79580bfdc3508.tar.gz chromium_src-4a4180a50553ddd3699357eee3a79580bfdc3508.tar.bz2 |
Reland 56669: Initial change that allows to disable bookmarks
Original CL: http://codereview.chromium.org/3191007
Initial change that allows to disable bookmarks in Chrome for Chrome OS
(BWSI mode). Added disable-bookmarks flag and disabled some UI elements.
BUG=chromium-os:4302
TEST=Run Chrome build for Chrome OS with --disable-bookmarks flag and
verify that the corresponding UI is disabled. Verify that BWSI mode runs
with this flag.
Review URL: http://codereview.chromium.org/3156035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57033 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/chrome_dll_main.cc')
-rw-r--r-- | chrome/app/chrome_dll_main.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc index 506a50c..487d781 100644 --- a/chrome/app/chrome_dll_main.cc +++ b/chrome/app/chrome_dll_main.cc @@ -49,6 +49,7 @@ #include "base/string_number_conversions.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" +#include "chrome/browser/defaults.h" #include "chrome/browser/diagnostics/diagnostics_main.h" #include "chrome/browser/renderer_host/render_process_host.h" #include "chrome/browser/platform_util.h" @@ -572,6 +573,7 @@ int ChromeMain(int argc, char** argv) { CommandLine* singleton_command_line = CommandLine::ForCurrentProcess(); singleton_command_line->AppendSwitch(switches::kDisableSync); singleton_command_line->AppendSwitch(switches::kDisableExtensions); + browser_defaults::bookmarks_enabled = false; } #endif |