Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: content/browser/download/download_manager_impl.h

Issue 12213066: Use base namespace for FilePath in content/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/download/download_manager_impl.h
diff --git a/content/browser/download/download_manager_impl.h b/content/browser/download/download_manager_impl.h
index e924a95d0ab5da82f762401bd493e84e31c558f8..ebd58f8281f1acb894705d7ab58d026f3cb87f2b 100644
--- a/content/browser/download/download_manager_impl.h
+++ b/content/browser/download/download_manager_impl.h
@@ -42,7 +42,7 @@ class CONTENT_EXPORT DownloadManagerImpl : public DownloadManager,
// Must be called on the UI thread. Note that the DownloadManager
// retains ownership.
virtual DownloadItemImpl* CreateSavePackageDownloadItem(
- const FilePath& main_file_path,
+ const base::FilePath& main_file_path,
const GURL& page_url,
const std::string& mime_type,
DownloadItem::Observer* observer);
@@ -68,8 +68,8 @@ class CONTENT_EXPORT DownloadManagerImpl : public DownloadManager,
virtual void AddObserver(Observer* observer) OVERRIDE;
virtual void RemoveObserver(Observer* observer) OVERRIDE;
virtual content::DownloadItem* CreateDownloadItem(
- const FilePath& current_path,
- const FilePath& target_path,
+ const base::FilePath& current_path,
+ const base::FilePath& target_path,
const std::vector<GURL>& url_chain,
const GURL& referrer_url,
const base::Time& start_time,
@@ -128,7 +128,8 @@ class CONTENT_EXPORT DownloadManagerImpl : public DownloadManager,
DownloadItemImpl* item, const DownloadTargetCallback& callback) OVERRIDE;
virtual bool ShouldCompleteDownload(
DownloadItemImpl* item, const base::Closure& complete_callback) OVERRIDE;
- virtual bool ShouldOpenFileBasedOnExtension(const FilePath& path) OVERRIDE;
+ virtual bool ShouldOpenFileBasedOnExtension(
+ const base::FilePath& path) OVERRIDE;
virtual bool ShouldOpenDownload(
DownloadItemImpl* item,
const ShouldOpenDownloadCallback& callback) OVERRIDE;
« no previous file with comments | « content/browser/download/download_item_impl_unittest.cc ('k') | content/browser/download/download_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698