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

Unified Diff: net/disk_cache/cache_util.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/base/upload_data.h ('k') | net/disk_cache/disk_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/cache_util.h
diff --git a/net/disk_cache/cache_util.h b/net/disk_cache/cache_util.h
index 6987dc38a8e9823b1f74f502b1cab3f3a73bb3da..0b3ee6e0255f444a716f46410d1c32a3b0af7759 100644
--- a/net/disk_cache/cache_util.h
+++ b/net/disk_cache/cache_util.h
@@ -8,7 +8,9 @@
#include "base/basictypes.h"
#include "net/base/net_export.h"
+namespace base {
class FilePath;
+}
namespace disk_cache {
@@ -18,15 +20,16 @@ namespace disk_cache {
// for the cache directory. Returns true if successful. On ChromeOS,
// this moves the cache contents, and leaves the empty cache
// directory.
-NET_EXPORT_PRIVATE bool MoveCache(const FilePath& from_path,
- const FilePath& to_path);
+NET_EXPORT_PRIVATE bool MoveCache(const base::FilePath& from_path,
+ const base::FilePath& to_path);
// Deletes the cache files stored on |path|, and optionally also attempts to
// delete the folder itself.
-NET_EXPORT_PRIVATE void DeleteCache(const FilePath& path, bool remove_folder);
+NET_EXPORT_PRIVATE void DeleteCache(const base::FilePath& path,
+ bool remove_folder);
// Deletes a cache file.
-NET_EXPORT_PRIVATE bool DeleteCacheFile(const FilePath& name);
+NET_EXPORT_PRIVATE bool DeleteCacheFile(const base::FilePath& name);
} // namespace disk_cache
« no previous file with comments | « net/base/upload_data.h ('k') | net/disk_cache/disk_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698