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

Side by Side Diff: webkit/common/fileapi/file_system_util_unittest.cc

Issue 18191004: webkit: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync+rebase Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/common/fileapi/file_system_util.cc ('k') | webkit/common/resource_request_body.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/common/fileapi/file_system_util.h" 5 #include "webkit/common/fileapi/file_system_util.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "googleurl/src/gurl.h"
9 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 #include "url/gurl.h"
10 10
11 namespace fileapi { 11 namespace fileapi {
12 namespace { 12 namespace {
13 13
14 class FileSystemUtilTest : public testing::Test {}; 14 class FileSystemUtilTest : public testing::Test {};
15 15
16 TEST_F(FileSystemUtilTest, GetTempFileSystemRootURI) { 16 TEST_F(FileSystemUtilTest, GetTempFileSystemRootURI) {
17 GURL origin_url("http://chromium.org"); 17 GURL origin_url("http://chromium.org");
18 fileapi::FileSystemType type = fileapi::kFileSystemTypeTemporary; 18 fileapi::FileSystemType type = fileapi::kFileSystemTypeTemporary;
19 GURL uri = GURL("filesystem:http://chromium.org/temporary/"); 19 GURL uri = GURL("filesystem:http://chromium.org/temporary/");
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 EXPECT_FALSE(CrackIsolatedFileSystemName("fooIsolatedbar", &fsid)); 217 EXPECT_FALSE(CrackIsolatedFileSystemName("fooIsolatedbar", &fsid));
218 EXPECT_FALSE(CrackIsolatedFileSystemName("foo:Persistent", &fsid)); 218 EXPECT_FALSE(CrackIsolatedFileSystemName("foo:Persistent", &fsid));
219 EXPECT_FALSE(CrackIsolatedFileSystemName("foo:Temporary", &fsid)); 219 EXPECT_FALSE(CrackIsolatedFileSystemName("foo:Temporary", &fsid));
220 EXPECT_FALSE(CrackIsolatedFileSystemName("foo:External", &fsid)); 220 EXPECT_FALSE(CrackIsolatedFileSystemName("foo:External", &fsid));
221 EXPECT_FALSE(CrackIsolatedFileSystemName(":Isolated_bar", &fsid)); 221 EXPECT_FALSE(CrackIsolatedFileSystemName(":Isolated_bar", &fsid));
222 EXPECT_FALSE(CrackIsolatedFileSystemName("foo:Isolated_", &fsid)); 222 EXPECT_FALSE(CrackIsolatedFileSystemName("foo:Isolated_", &fsid));
223 } 223 }
224 224
225 } // namespace (anonymous) 225 } // namespace (anonymous)
226 } // namespace fileapi 226 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/common/fileapi/file_system_util.cc ('k') | webkit/common/resource_request_body.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698