Index: net/base/network_delegate.h |
diff --git a/net/base/network_delegate.h b/net/base/network_delegate.h |
index 5475754fa3741771a74ba84e74e5b0922109f3d8..f2198540f40ddc90510a9694dda1c91e5386185a 100644 |
--- a/net/base/network_delegate.h |
+++ b/net/base/network_delegate.h |
@@ -14,9 +14,12 @@ |
#include "net/base/completion_callback.h" |
#include "net/cookies/canonical_cookie.h" |
-class FilePath; |
class GURL; |
+namespace base { |
+class FilePath; |
+} |
+ |
namespace net { |
// NOTE: Layering violations! |
@@ -92,7 +95,7 @@ class NET_EXPORT NetworkDelegate : public base::NonThreadSafe { |
const std::string& cookie_line, |
CookieOptions* options); |
bool CanAccessFile(const URLRequest& request, |
- const FilePath& path) const; |
+ const base::FilePath& path) const; |
bool CanThrottleRequest(const URLRequest& request) const; |
int NotifyBeforeSocketStreamConnect(SocketStream* socket, |
@@ -215,7 +218,7 @@ class NET_EXPORT NetworkDelegate : public base::NonThreadSafe { |
// allow or block access to the given file path. Returns true if access is |
// allowed. |
virtual bool OnCanAccessFile(const URLRequest& request, |
- const FilePath& path) const = 0; |
+ const base::FilePath& path) const = 0; |
// Returns true if the given request may be rejected when the |
// URLRequestThrottlerManager believes the server servicing the |