| Index: chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc
|
| diff --git a/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc b/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc
|
| index b3f9e14beb39891e4455358fb6b028ab0c657b9a..36c99e97ff11b5aeaec1f12841013603e4b71419 100644
|
| --- a/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc
|
| +++ b/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc
|
| @@ -452,7 +452,6 @@ FileBrowserPrivateAPI::FileBrowserPrivateAPI(Profile* profile)
|
| registry->RegisterFunction<SetLastModifiedFunction>();
|
| registry->RegisterFunction<ZipSelectionFunction>();
|
| registry->RegisterFunction<ValidatePathNameLengthFunction>();
|
| - registry->RegisterFunction<OpenNewWindowFunction>();
|
| registry->RegisterFunction<ZoomFunction>();
|
| event_router_->ObserveFileSystemEvents();
|
| }
|
| @@ -3084,17 +3083,6 @@ void ValidatePathNameLengthFunction::OnFilePathLimitRetrieved(
|
| SendResponse(true);
|
| }
|
|
|
| -OpenNewWindowFunction::OpenNewWindowFunction() {}
|
| -
|
| -OpenNewWindowFunction::~OpenNewWindowFunction() {}
|
| -
|
| -bool OpenNewWindowFunction::RunImpl() {
|
| - std::string url;
|
| - EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &url));
|
| - file_manager_util::OpenNewWindow(profile_, GURL(url));
|
| - return true;
|
| -}
|
| -
|
| bool ZoomFunction::RunImpl() {
|
| content::RenderViewHost* const view_host = render_view_host();
|
| std::string operation;
|
|
|