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

Unified Diff: webkit/database/database_tracker.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/chromeos/fileapi/remote_file_system_operation.cc ('k') | webkit/database/database_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/database/database_tracker.h
diff --git a/webkit/database/database_tracker.h b/webkit/database/database_tracker.h
index df3079a140f217371c0c588eb5a1b3b042e3b658..956a72e6b678888de9b543f7a571021cdd59a852 100644
--- a/webkit/database/database_tracker.h
+++ b/webkit/database/database_tracker.h
@@ -38,8 +38,9 @@ class SpecialStoragePolicy;
namespace webkit_database {
-WEBKIT_STORAGE_EXPORT extern const FilePath::CharType kDatabaseDirectoryName[];
-WEBKIT_STORAGE_EXPORT extern const FilePath::CharType
+WEBKIT_STORAGE_EXPORT extern const base::FilePath::CharType
+ kDatabaseDirectoryName[];
+WEBKIT_STORAGE_EXPORT extern const base::FilePath::CharType
kTrackerDatabaseFileName[];
class DatabasesTable;
@@ -93,7 +94,7 @@ class WEBKIT_STORAGE_EXPORT DatabaseTracker
virtual ~Observer() {}
};
- DatabaseTracker(const FilePath& profile_path,
+ DatabaseTracker(const base::FilePath& profile_path,
bool is_incognito,
quota::SpecialStoragePolicy* special_storage_policy,
quota::QuotaManagerProxy* quota_manager_proxy,
@@ -119,8 +120,8 @@ class WEBKIT_STORAGE_EXPORT DatabaseTracker
void CloseTrackerDatabaseAndClearCaches();
- const FilePath& DatabaseDirectory() const { return db_dir_; }
- FilePath GetFullDBFilePath(const string16& origin_identifier,
+ const base::FilePath& DatabaseDirectory() const { return db_dir_; }
+ base::FilePath GetFullDBFilePath(const string16& origin_identifier,
const string16& database_name);
// virtual for unit-testing only
@@ -264,8 +265,8 @@ class WEBKIT_STORAGE_EXPORT DatabaseTracker
const bool is_incognito_;
bool force_keep_session_state_;
bool shutting_down_;
- const FilePath profile_path_;
- const FilePath db_dir_;
+ const base::FilePath profile_path_;
+ const base::FilePath db_dir_;
scoped_ptr<sql::Connection> db_;
scoped_ptr<DatabasesTable> databases_table_;
scoped_ptr<sql::MetaTable> meta_table_;
« no previous file with comments | « webkit/chromeos/fileapi/remote_file_system_operation.cc ('k') | webkit/database/database_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698