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

Unified Diff: content/test/net/url_request_prepackaged_interceptor.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 | « content/test/net/url_request_mock_http_job.h ('k') | content/utility/utility_thread_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/net/url_request_prepackaged_interceptor.h
diff --git a/content/test/net/url_request_prepackaged_interceptor.h b/content/test/net/url_request_prepackaged_interceptor.h
index 88b2291039bb913d54ca9accf57b1fd7dfb95f17..edb65c585597eb90d32613672aa85fc65f4465eb 100644
--- a/content/test/net/url_request_prepackaged_interceptor.h
+++ b/content/test/net/url_request_prepackaged_interceptor.h
@@ -7,9 +7,12 @@
#include "base/basictypes.h"
-class FilePath;
class GURL;
+namespace base {
+class FilePath;
+}
+
namespace content {
// Intercepts HTTP requests and gives pre-defined responses to specified URLs.
@@ -23,11 +26,11 @@ class URLRequestPrepackagedInterceptor {
// When requests for |url| arrive, respond with the contents of |path|. The
// hostname of |url| must be "localhost" to avoid DNS lookups, and the scheme
// must be "http".
- void SetResponse(const GURL& url, const FilePath& path);
+ void SetResponse(const GURL& url, const base::FilePath& path);
// Identical to SetResponse except that query parameters are ignored on
// incoming URLs when comparing against |url|.
- void SetResponseIgnoreQuery(const GURL& url, const FilePath& path);
+ void SetResponseIgnoreQuery(const GURL& url, const base::FilePath& path);
// Returns how many requests have been issued that have a stored reply.
int GetHitCount();
« no previous file with comments | « content/test/net/url_request_mock_http_job.h ('k') | content/utility/utility_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698