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

Unified Diff: net/url_request/url_fetcher.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
« no previous file with comments | « net/test/python_utils.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_fetcher.h
diff --git a/net/url_request/url_fetcher.h b/net/url_request/url_fetcher.h
index 815dac088d3602a5931780cd834dc019154e6996..fdd436749dc56067de2e457f07339c93ee86e6c1 100644
--- a/net/url_request/url_fetcher.h
+++ b/net/url_request/url_fetcher.h
@@ -16,10 +16,10 @@
#include "base/task_runner.h"
#include "net/base/net_export.h"
-class FilePath;
class GURL;
namespace base {
+class FilePath;
class MessageLoopProxy;
class TimeDelta;
}
@@ -220,7 +220,7 @@ class NET_EXPORT URLFetcher {
// The created file is removed when the URLFetcher is deleted unless you
// take ownership by calling GetResponseAsFilePath().
virtual void SaveResponseToFileAtPath(
- const FilePath& file_path,
+ const base::FilePath& file_path,
scoped_refptr<base::TaskRunner> file_task_runner) = 0;
// By default, the response is saved in a string. Call this method to save the
@@ -284,7 +284,7 @@ class NET_EXPORT URLFetcher {
// be removed once the URLFetcher is destroyed. User should not take
// ownership more than once, or call this method after taking ownership.
virtual bool GetResponseAsFilePath(bool take_ownership,
- FilePath* out_response_path) const = 0;
+ base::FilePath* out_response_path) const = 0;
};
} // namespace net
« no previous file with comments | « net/test/python_utils.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698