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

Unified Diff: chrome/browser/extensions/webstore_installer.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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: chrome/browser/extensions/webstore_installer.h
diff --git a/chrome/browser/extensions/webstore_installer.h b/chrome/browser/extensions/webstore_installer.h
index b263f81c2729ca1be60d502eec2d006e173bf314..bda4aa0636d03ca0418357b059eb832254abafb2 100644
--- a/chrome/browser/extensions/webstore_installer.h
+++ b/chrome/browser/extensions/webstore_installer.h
@@ -21,9 +21,12 @@
#include "googleurl/src/gurl.h"
#include "net/base/net_errors.h"
-class FilePath;
class Profile;
+namespace base {
+class FilePath;
+}
+
namespace content {
class NavigationController;
}
@@ -142,7 +145,7 @@ class WebstoreInstaller :public content::NotificationObserver,
// Instead of using the default download directory, use |directory| instead.
// This does *not* transfer ownership of |directory|.
- static void SetDownloadDirectoryForTests(FilePath* directory);
+ static void SetDownloadDirectoryForTests(base::FilePath* directory);
private:
friend struct content::BrowserThread::DeleteOnThread<
@@ -158,7 +161,7 @@ class WebstoreInstaller :public content::NotificationObserver,
virtual void OnDownloadDestroyed(content::DownloadItem* download) OVERRIDE;
// Starts downloading the extension to |file_path|.
- void StartDownload(const FilePath& file_path);
+ void StartDownload(const base::FilePath& file_path);
// Reports an install |error| to the delegate for the given extension if this
// managed its installation. This also removes the associated PendingInstall.
« no previous file with comments | « chrome/browser/extensions/updater/extension_downloader_delegate.h ('k') | chrome/browser/first_run/first_run.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698