diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-27 17:19:40 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-27 17:19:40 +0000 |
commit | 5ca8334e7246840f315dcca9f661a2c5eabd190e (patch) | |
tree | c17c01e51b7ed09690d596b00d3e36eebfe6f39b /webkit/fileapi/isolated_context_unittest.cc | |
parent | f4b79b512cd27c7f8056c2d8fc584e73f1932312 (diff) | |
download | chromium_src-5ca8334e7246840f315dcca9f661a2c5eabd190e.zip chromium_src-5ca8334e7246840f315dcca9f661a2c5eabd190e.tar.gz chromium_src-5ca8334e7246840f315dcca9f661a2c5eabd190e.tar.bz2 |
kFileSystemTypeIsolated should be only used in the URL exposed to renderer
Also added verbose description in file_system_types.h.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10879002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153498 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/isolated_context_unittest.cc')
-rw-r--r-- | webkit/fileapi/isolated_context_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/fileapi/isolated_context_unittest.cc b/webkit/fileapi/isolated_context_unittest.cc index a2e637d..a66ff75 100644 --- a/webkit/fileapi/isolated_context_unittest.cc +++ b/webkit/fileapi/isolated_context_unittest.cc @@ -114,7 +114,7 @@ TEST_F(IsolatedContextTest, RegisterAndRevokeTest) { isolated_context()->RemoveReference(id_); std::string id2 = isolated_context()->RegisterFileSystemForPath( - kFileSystemTypeIsolated, FilePath(DRIVE FPL("/foo")), NULL); + kFileSystemTypeNativeLocal, FilePath(DRIVE FPL("/foo")), NULL); // Make sure the GetDraggedFileInfo returns false for both ones. ASSERT_FALSE(isolated_context()->GetDraggedFileInfo(id2, &toplevels)); @@ -126,11 +126,11 @@ TEST_F(IsolatedContextTest, RegisterAndRevokeTest) { // Try registering three more file systems for the same path as id2. std::string id3 = isolated_context()->RegisterFileSystemForPath( - kFileSystemTypeIsolated, path, NULL); + kFileSystemTypeNativeLocal, path, NULL); std::string id4 = isolated_context()->RegisterFileSystemForPath( - kFileSystemTypeIsolated, path, NULL); + kFileSystemTypeNativeLocal, path, NULL); std::string id5 = isolated_context()->RegisterFileSystemForPath( - kFileSystemTypeIsolated, path, NULL); + kFileSystemTypeNativeLocal, path, NULL); // Remove file system for id4. isolated_context()->AddReference(id4); |