Commit 1dd429a1 authored by tengs@chromium.org's avatar tengs@chromium.org

Remove flags for enabling Drive offline mode for M34 launch.

BUG=307300

Review URL: https://codereview.chromium.org/145703004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247897 0039d316-1c4b-4281-b951-d872f2087c98
parent 5cacd303
......@@ -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();
}
}
......
......@@ -77,9 +77,6 @@ const char kEnableBackgroundLoader[] = "enable-background-loader";
// Enables switching between different cellular carriers from the UI.
const char kEnableCarrierSwitching[] = "enable-carrier-switching";
// Enables automatically initializing Google Drive offline mode on first run.
const char kEnableDriveOfflineFirstRun[] = "enable-drive-offline-first-run";
// Enable "interactive" mode for stub implemenations (e.g. NetworkStateHandler)
const char kEnableStubInteractive[] = "enable-stub-interactive";
......
......@@ -40,7 +40,6 @@ CHROMEOS_EXPORT extern const char kDisableQuickofficeComponentApp[];
CHROMEOS_EXPORT extern const char kEchoExtensionPath[];
CHROMEOS_EXPORT extern const char kEnableBackgroundLoader[];
CHROMEOS_EXPORT extern const char kEnableCarrierSwitching[];
CHROMEOS_EXPORT extern const char kEnableDriveOfflineFirstRun[];
CHROMEOS_EXPORT extern const char kEnableKioskMode[];
CHROMEOS_EXPORT extern const char kEnableRequestTabletSite[];
CHROMEOS_EXPORT extern const char kEnableStubInteractive[];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment