diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-04 06:48:46 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-04 06:48:46 +0000 |
commit | a623aae4e88566e21092dfe6671dcd92fc9d3f26 (patch) | |
tree | acbef921ffe550ba785832b5722b12382c3068db /webkit/browser/fileapi/sandbox_isolated_origin_database.cc | |
parent | d33f9e88470477c4d86b0302773171e3151d7f64 (diff) | |
download | chromium_src-a623aae4e88566e21092dfe6671dcd92fc9d3f26.zip chromium_src-a623aae4e88566e21092dfe6671dcd92fc9d3f26.tar.gz chromium_src-a623aae4e88566e21092dfe6671dcd92fc9d3f26.tar.bz2 |
Prepopulate directory database for isolated origins
This reduces end-to-end OpenFileSystem + CreateFile cost
by ~100ms (measured in JS layer) for packaged apps.
BUG=242272
R=tzik@chromium.org
Review URL: https://codereview.chromium.org/15724009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203877 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/browser/fileapi/sandbox_isolated_origin_database.cc')
-rw-r--r-- | webkit/browser/fileapi/sandbox_isolated_origin_database.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/browser/fileapi/sandbox_isolated_origin_database.cc b/webkit/browser/fileapi/sandbox_isolated_origin_database.cc index 17b365d..f382cf4 100644 --- a/webkit/browser/fileapi/sandbox_isolated_origin_database.cc +++ b/webkit/browser/fileapi/sandbox_isolated_origin_database.cc @@ -11,7 +11,8 @@ namespace fileapi { // Special directory name for isolated origin. -const base::FilePath::CharType kOriginDirectory[] = FILE_PATH_LITERAL("iso"); +const base::FilePath::CharType +SandboxIsolatedOriginDatabase::kOriginDirectory[] = FILE_PATH_LITERAL("iso"); SandboxIsolatedOriginDatabase::SandboxIsolatedOriginDatabase( const std::string& origin, |