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

Unified Diff: chrome/browser/browser_main_posix.cc

Issue 7840041: Refactor some more BrowserMain code. Move core code that's required by all embedders to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_main_posix.h ('k') | chrome/browser/browser_main_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main_posix.cc
===================================================================
--- chrome/browser/browser_main_posix.cc (revision 100153)
+++ chrome/browser/browser_main_posix.cc (working copy)
@@ -16,7 +16,6 @@
#include "base/eintr_wrapper.h"
#include "base/logging.h"
#include "base/string_number_conversions.h"
-#include "chrome/browser/defaults.h"
#include "chrome/browser/ui/browser_list.h"
#include "chrome/common/chrome_switches.h"
#include "content/browser/browser_thread.h"
@@ -233,16 +232,6 @@
#endif // OS_MACOSX
if (fd_limit > 0)
SetFileDescriptorLimit(fd_limit);
-
-#if defined(OS_CHROMEOS)
- if (parsed_command_line().HasSwitch(switches::kGuestSession)) {
- // Disable sync and extensions if we're in "browse without sign-in" mode.
- CommandLine* singleton_command_line = CommandLine::ForCurrentProcess();
- singleton_command_line->AppendSwitch(switches::kDisableSync);
- singleton_command_line->AppendSwitch(switches::kDisableExtensions);
- browser_defaults::bookmarks_enabled = false;
- }
-#endif
}
void BrowserMainPartsPosix::PostMainMessageLoopStart() {
« no previous file with comments | « chrome/browser/browser_main_posix.h ('k') | chrome/browser/browser_main_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698