summaryrefslogtreecommitdiffstats
path: root/webkit/browser/fileapi/sandbox_isolated_origin_database.cc
diff options
context:
space:
mode:
authorkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 06:48:46 +0000
committerkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 06:48:46 +0000
commita623aae4e88566e21092dfe6671dcd92fc9d3f26 (patch)
treeacbef921ffe550ba785832b5722b12382c3068db /webkit/browser/fileapi/sandbox_isolated_origin_database.cc
parentd33f9e88470477c4d86b0302773171e3151d7f64 (diff)
downloadchromium_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.cc3
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,