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

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

Issue 553983013: Remove storage-related redirect headers in webkit/common/, update #includes and DEPS files to use s… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "storage/common/fileapi/file_system_util.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
11 using storage::CrackIsolatedFileSystemName; 11 using storage::CrackIsolatedFileSystemName;
12 using storage::GetExternalFileSystemRootURIString; 12 using storage::GetExternalFileSystemRootURIString;
13 using storage::GetIsolatedFileSystemName; 13 using storage::GetIsolatedFileSystemName;
14 using storage::GetIsolatedFileSystemRootURIString; 14 using storage::GetIsolatedFileSystemRootURIString;
15 using storage::ValidateIsolatedFileSystemId; 15 using storage::ValidateIsolatedFileSystemId;
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 // Percents must be escaped, otherwise they will be unintentionally unescaped. 298 // Percents must be escaped, otherwise they will be unintentionally unescaped.
299 const std::string kMountName = "X%20Y"; 299 const std::string kMountName = "X%20Y";
300 300
301 const std::string url_string = 301 const std::string url_string =
302 GetExternalFileSystemRootURIString(kOriginURL, kMountName); 302 GetExternalFileSystemRootURIString(kOriginURL, kMountName);
303 EXPECT_EQ("filesystem:http://foo/external/X%2520Y/", url_string); 303 EXPECT_EQ("filesystem:http://foo/external/X%2520Y/", url_string);
304 } 304 }
305 305
306 } // namespace 306 } // namespace
307 } // namespace content 307 } // namespace content
OLDNEW
« no previous file with comments | « content/common/fileapi/file_system_messages.h ('k') | content/common/fileapi/webblob_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698