From ffc0c2d51b01e5ea248ffd13d3c158b65d987afd Mon Sep 17 00:00:00 2001 From: "hashimoto@chromium.org" Date: Mon, 21 Jan 2013 15:32:12 +0000 Subject: Move OpenItem/ShowItemInFolder from ContentBrowserClient to DownloadManagerDelegate ChromeDownloadManagerDelegate provides Profile which can be used to perform drive file operations. MockDownloadOpenForTesting is moved from DownloadItem to DownloadManager. Rename DownloadManager::DownloadOpened to OpenDownload. Add DownloadManager::ShowDownloadInShell. BUG=154713 TEST=git try TBR=joth@chromium.org for android_webview Review URL: https://chromiumcodereview.appspot.com/11941015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177920 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/chrome_content_browser_client.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'chrome/browser/chrome_content_browser_client.cc') diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc index a430cc9..d27c0b2 100644 --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc @@ -1193,14 +1193,6 @@ ChromeContentBrowserClient::CreateQuotaPermissionContext() { return new ChromeQuotaPermissionContext(); } -void ChromeContentBrowserClient::OpenItem(const FilePath& path) { - platform_util::OpenItem(path); -} - -void ChromeContentBrowserClient::ShowItemInFolder(const FilePath& path) { - platform_util::ShowItemInFolder(path); -} - void ChromeContentBrowserClient::AllowCertificateError( int render_process_id, int render_view_id, -- cgit v1.1