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

Unified Diff: chrome/browser/chromeos/login/login_display_host_impl.cc

Issue 145703004: Remove flags for enabling Drive offline mode for M34 launch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « no previous file | chromeos/chromeos_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/login_display_host_impl.cc
diff --git a/chrome/browser/chromeos/login/login_display_host_impl.cc b/chrome/browser/chromeos/login/login_display_host_impl.cc
index a1c97356f7a0856d0e53da1e5e3adae962c05704..baafce77656b822ef8d266b9ffc0e77a5f2edc82 100644
--- a/chrome/browser/chromeos/login/login_display_host_impl.cc
+++ b/chrome/browser/chromeos/login/login_display_host_impl.cc
@@ -375,13 +375,10 @@ LoginDisplayHostImpl::~LoginDisplayHostImpl() {
default_host_ = NULL;
// TODO(tengs): This should be refactored. See crbug.com/314934.
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableDriveOfflineFirstRun)) {
- if (UserManager::Get()->IsCurrentUserNew()) {
- // DriveOptInController will delete itself when finished.
- (new DriveFirstRunController(
- ProfileManager::GetActiveUserProfile()))->EnableOfflineMode();
- }
+ if (UserManager::Get()->IsCurrentUserNew()) {
+ // DriveOptInController will delete itself when finished.
+ (new DriveFirstRunController(
+ ProfileManager::GetActiveUserProfile()))->EnableOfflineMode();
}
}
« no previous file with comments | « no previous file | chromeos/chromeos_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698