diff options
author | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-02 22:12:56 +0000 |
---|---|---|
committer | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-02 22:12:56 +0000 |
commit | 4cccc224e222ceeb765ce93d5bb40223b210c472 (patch) | |
tree | 34c0d1c03d688288801e372282e560631148a692 /webkit/appcache/appcache_storage_impl.cc | |
parent | c692dd33c9a2686d7121045de78e7a0bdfabfe86 (diff) | |
download | chromium_src-4cccc224e222ceeb765ce93d5bb40223b210c472.zip chromium_src-4cccc224e222ceeb765ce93d5bb40223b210c472.tar.gz chromium_src-4cccc224e222ceeb765ce93d5bb40223b210c472.tar.bz2 |
Include the appcache and database tracker databases into the sql diagnostics fold.
TEST=manual
BUG=none
Review URL: http://codereview.chromium.org/1508016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43534 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_storage_impl.cc')
-rw-r--r-- | webkit/appcache/appcache_storage_impl.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/appcache/appcache_storage_impl.cc b/webkit/appcache/appcache_storage_impl.cc index 10724eb..69701e6 100644 --- a/webkit/appcache/appcache_storage_impl.cc +++ b/webkit/appcache/appcache_storage_impl.cc @@ -32,10 +32,10 @@ void DeleteDirectory(const FilePath& path) { namespace appcache { -static const char kAppCacheDatabaseName[] = "Index"; -static const char kDiskCacheDirectoryName[] = "Cache"; static const int kMaxDiskCacheSize = 250 * 1024 * 1024; static const int kMaxMemDiskCacheSize = 10 * 1024 * 1024; +static const FilePath::CharType kDiskCacheDirectoryName[] = + FILE_PATH_LITERAL("Cache"); // DatabaseTask ----------------------------------------- @@ -849,7 +849,7 @@ void AppCacheStorageImpl::Initialize(const FilePath& cache_directory) { FilePath db_file_path; if (!is_incognito_) - db_file_path = cache_directory_.AppendASCII(kAppCacheDatabaseName); + db_file_path = cache_directory_.Append(kAppCacheDatabaseName); database_ = new AppCacheDatabase(db_file_path); scoped_refptr<InitTask> task = new InitTask(this); @@ -1271,7 +1271,7 @@ AppCacheDiskCache* AppCacheStorageImpl::disk_cache() { kMaxMemDiskCacheSize, &init_callback_); } else { rv = disk_cache_->InitWithDiskBackend( - cache_directory_.AppendASCII(kDiskCacheDirectoryName), + cache_directory_.Append(kDiskCacheDirectoryName), kMaxDiskCacheSize, false, &init_callback_); } |