diff options
-rw-r--r-- | chrome/browser/about_flags.cc | 19 | ||||
-rw-r--r-- | chrome/browser/chromeos/file_manager/volume_manager.cc | 8 | ||||
-rw-r--r-- | chromeos/chromeos_switches.cc | 3 | ||||
-rw-r--r-- | chromeos/chromeos_switches.h | 1 |
4 files changed, 1 insertions, 30 deletions
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc index 4fa0f57..612d4e7 100644 --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc @@ -427,16 +427,6 @@ const Experiment::Choice kAnswersInSuggestChoices[] = { }; #endif -#if defined(OS_CHROMEOS) -const Experiment::Choice kEnableFileManagerMTPChoices[] = { - { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, - { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED, - chromeos::switches::kEnableFileManagerMTP, "true" }, - { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, - chromeos::switches::kEnableFileManagerMTP, "false" } -}; -#endif - const Experiment::Choice kEnableSettingsWindowChoices[] = { { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED, @@ -1760,15 +1750,6 @@ const Experiment kExperiments[] = { ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSavePasswordBubble, switches::kDisableSavePasswordBubble) }, -#if defined(OS_CHROMEOS) - { - "enable-filemanager-mtp", - IDS_FLAGS_ENABLE_FILE_MANAGER_MTP_NAME, - IDS_FLAGS_ENABLE_FILE_MANAGER_MTP_DESCRIPTION, - kOsCrOS, - MULTI_VALUE_TYPE(kEnableFileManagerMTPChoices) - }, -#endif // TODO(tyoshino): Remove this temporary flag and command line switch. See // crbug.com/366483 for the target milestone. { diff --git a/chrome/browser/chromeos/file_manager/volume_manager.cc b/chrome/browser/chromeos/file_manager/volume_manager.cc index a91f147..cac18b4 100644 --- a/chrome/browser/chromeos/file_manager/volume_manager.cc +++ b/chrome/browser/chromeos/file_manager/volume_manager.cc @@ -6,7 +6,6 @@ #include "base/basictypes.h" #include "base/bind.h" -#include "base/command_line.h" #include "base/files/file_path.h" #include "base/logging.h" #include "base/metrics/histogram.h" @@ -24,9 +23,7 @@ #include "chrome/browser/chromeos/profiles/profile_helper.h" #include "chrome/browser/media_galleries/fileapi/mtp_device_map_service.h" #include "chrome/browser/profiles/profile.h" -#include "chrome/common/chrome_switches.h" #include "chrome/common/pref_names.h" -#include "chromeos/chromeos_switches.h" #include "chromeos/disks/disk_mount_manager.h" #include "components/storage_monitor/storage_monitor.h" #include "content/public/browser/browser_context.h" @@ -318,10 +315,7 @@ void VolumeManager::Initialize() { weak_ptr_factory_.GetWeakPtr())); // Subscribe to storage monitor for MTP notifications. - const bool disable_mtp = - CommandLine::ForCurrentProcess()->GetSwitchValueASCII( - chromeos::switches::kEnableFileManagerMTP) == "false"; - if (!disable_mtp && storage_monitor::StorageMonitor::GetInstance()) { + if (storage_monitor::StorageMonitor::GetInstance()) { storage_monitor::StorageMonitor::GetInstance()->EnsureInitialized( base::Bind(&VolumeManager::OnStorageMonitorInitialized, weak_ptr_factory_.GetWeakPtr())); diff --git a/chromeos/chromeos_switches.cc b/chromeos/chromeos_switches.cc index 6907908..efba3b7 100644 --- a/chromeos/chromeos_switches.cc +++ b/chromeos/chromeos_switches.cc @@ -87,9 +87,6 @@ const char kEnableEmbeddedSignin[] = "enable-embedded-signin"; // Enabled sharing assets for installed default apps. const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; -// Enables MTP support in Files.app. -const char kEnableFileManagerMTP[] = "enable-filemanager-mtp"; - // Enables notifications about captive portals in session. const char kEnableNetworkPortalNotification[] = "enable-network-portal-notification"; diff --git a/chromeos/chromeos_switches.h b/chromeos/chromeos_switches.h index f1be482..722591f 100644 --- a/chromeos/chromeos_switches.h +++ b/chromeos/chromeos_switches.h @@ -44,7 +44,6 @@ CHROMEOS_EXPORT extern const char kEnableChromeVoxNext[]; CHROMEOS_EXPORT extern const char kEnableConsumerManagement[]; CHROMEOS_EXPORT extern const char kEnableEmbeddedSignin[]; CHROMEOS_EXPORT extern const char kEnableExtensionAssetsSharing[]; -CHROMEOS_EXPORT extern const char kEnableFileManagerMTP[]; CHROMEOS_EXPORT extern const char kEnableFirstRunUITransitions[]; CHROMEOS_EXPORT extern const char kEnableKioskMode[]; CHROMEOS_EXPORT extern const char kEnableNetworkPortalNotification[]; |