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

Unified Diff: webkit/fileapi/file_system_usage_cache.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 | « webkit/fileapi/file_system_url_unittest.cc ('k') | webkit/fileapi/file_system_usage_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_usage_cache.h
diff --git a/webkit/fileapi/file_system_usage_cache.h b/webkit/fileapi/file_system_usage_cache.h
index 3d25120d9fbe28e003d26056b3fbbbd6f5efd5cd..428aa4b3dd747e437d30d6128f3a8ad142ee8178 100644
--- a/webkit/fileapi/file_system_usage_cache.h
+++ b/webkit/fileapi/file_system_usage_cache.h
@@ -16,34 +16,34 @@ class WEBKIT_STORAGE_EXPORT_PRIVATE FileSystemUsageCache {
// Gets the size described in the .usage file even if dirty > 0 or
// is_valid == false. Returns less than zero if the .usage file is not
// available.
- static int64 GetUsage(const FilePath& usage_file_path);
+ static int64 GetUsage(const base::FilePath& usage_file_path);
// Gets the dirty count in the .usage file.
// Returns less than zero if the .usage file is not available.
- static int32 GetDirty(const FilePath& usage_file_path);
+ static int32 GetDirty(const base::FilePath& usage_file_path);
// Increments or decrements the "dirty" entry in the .usage file.
// Returns false if no .usage is available.
- static bool IncrementDirty(const FilePath& usage_file_path);
- static bool DecrementDirty(const FilePath& usage_file_path);
+ static bool IncrementDirty(const base::FilePath& usage_file_path);
+ static bool DecrementDirty(const base::FilePath& usage_file_path);
// Notifies quota system that it needs to recalculate the usage cache of the
// origin. Returns false if no .usage is available.
- static bool Invalidate(const FilePath& usage_file_path);
- static bool IsValid(const FilePath& usage_file_path);
+ static bool Invalidate(const base::FilePath& usage_file_path);
+ static bool IsValid(const base::FilePath& usage_file_path);
// Updates the size described in the .usage file.
- static int UpdateUsage(const FilePath& usage_file_path, int64 fs_usage);
+ static int UpdateUsage(const base::FilePath& usage_file_path, int64 fs_usage);
// Updates the size described in the .usage file by delta with keeping dirty
// even if dirty > 0.
static int AtomicUpdateUsageByDelta(
- const FilePath& usage_file_path, int64 delta);
+ const base::FilePath& usage_file_path, int64 delta);
- static bool Exists(const FilePath& usage_file_path);
- static bool Delete(const FilePath& usage_file_path);
+ static bool Exists(const base::FilePath& usage_file_path);
+ static bool Delete(const base::FilePath& usage_file_path);
- static const FilePath::CharType kUsageFileName[];
+ static const base::FilePath::CharType kUsageFileName[];
static const char kUsageFileHeader[];
static const int kUsageFileSize;
static const int kUsageFileHeaderSize;
@@ -51,11 +51,11 @@ class WEBKIT_STORAGE_EXPORT_PRIVATE FileSystemUsageCache {
private:
// Read the size, validity and the "dirty" entry described in the .usage file.
// Returns less than zero if no .usage file is available.
- static int64 Read(const FilePath& usage_file_path,
+ static int64 Read(const base::FilePath& usage_file_path,
bool* is_valid,
uint32* dirty);
- static int Write(const FilePath& usage_file_path,
+ static int Write(const base::FilePath& usage_file_path,
bool is_valid,
uint32 dirty,
int64 fs_usage);
« no previous file with comments | « webkit/fileapi/file_system_url_unittest.cc ('k') | webkit/fileapi/file_system_usage_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698