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

Unified Diff: webkit/tools/test_shell/simple_resource_loader_bridge.cc

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 | « webkit/tools/test_shell/simple_resource_loader_bridge.h ('k') | webkit/tools/test_shell/test_shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/simple_resource_loader_bridge.cc
diff --git a/webkit/tools/test_shell/simple_resource_loader_bridge.cc b/webkit/tools/test_shell/simple_resource_loader_bridge.cc
index 02aaf802313aa0bc3c58998797b9469747c17444..743ba26bf38952203e6afba07b6301c4a4b9e057 100644
--- a/webkit/tools/test_shell/simple_resource_loader_bridge.cc
+++ b/webkit/tools/test_shell/simple_resource_loader_bridge.cc
@@ -93,14 +93,14 @@ namespace {
struct TestShellRequestContextParams {
TestShellRequestContextParams(
- const FilePath& in_cache_path,
+ const base::FilePath& in_cache_path,
net::HttpCache::Mode in_cache_mode,
bool in_no_proxy)
: cache_path(in_cache_path),
cache_mode(in_cache_mode),
no_proxy(in_no_proxy) {}
- FilePath cache_path;
+ base::FilePath cache_path;
net::HttpCache::Mode cache_mode;
bool no_proxy;
};
@@ -177,7 +177,7 @@ class TestShellNetworkDelegate : public net::NetworkDelegate {
return rv == net::OK;
}
virtual bool OnCanAccessFile(const net::URLRequest& request,
- const FilePath& path) const OVERRIDE {
+ const base::FilePath& path) const OVERRIDE {
return true;
}
virtual bool OnCanThrottleRequest(
@@ -475,7 +475,7 @@ class RequestProxy
download_to_file_ = params->download_to_file;
if (download_to_file_) {
- FilePath path;
+ base::FilePath path;
if (file_util::CreateTemporaryFile(&path)) {
downloaded_file_ = ShareableFileReference::GetOrCreate(
path, ShareableFileReference::DELETE_ON_FINAL_RELEASE,
@@ -755,7 +755,7 @@ class RequestProxy
// Get the File URL.
original_request.replace(0, http_prefix.size(), file_url_prefix_);
- FilePath file_path;
+ base::FilePath file_path;
if (!net::FileURLToFilePath(GURL(original_request), &file_path)) {
NOTREACHED();
}
@@ -1027,7 +1027,7 @@ class CookieGetter : public base::RefCountedThreadSafe<CookieGetter> {
// static
void SimpleResourceLoaderBridge::Init(
- const FilePath& cache_path,
+ const base::FilePath& cache_path,
net::HttpCache::Mode cache_mode,
bool no_proxy) {
// Make sure to stop any existing IO thread since it may be using the
« no previous file with comments | « webkit/tools/test_shell/simple_resource_loader_bridge.h ('k') | webkit/tools/test_shell/test_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698