Index: chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc |
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc |
index 0cdce519f750e5e7e381bba1e9b79a836b893c50..bd8d719d580bfa0678d5fb5d8be36fb8a2d4a8b5 100644 |
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc |
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc |
@@ -902,15 +902,6 @@ FileBrowserPrivateGetDownloadUrlFunction:: |
} |
bool FileBrowserPrivateGetDownloadUrlFunction::RunAsync() { |
- const base::CommandLine* command_line = |
- base::CommandLine::ForCurrentProcess(); |
- if (!command_line->HasSwitch( |
- chromeos::switches::kEnableVideoPlayerChromecastSupport)) { |
- SetError("Cast support is disabled."); |
- SetResult(new base::StringValue("")); // Intentionally returns a blank. |
- return false; |
- } |
- |
using extensions::api::file_browser_private::GetShareUrl::Params; |
const scoped_ptr<Params> params(Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params); |