| OLD | NEW |
| 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 "storage/common/fileapi/file_system_util.h" | 5 #include "storage/common/fileapi/file_system_util.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 // Percents must be escaped, otherwise they will be unintentionally unescaped. | 301 // Percents must be escaped, otherwise they will be unintentionally unescaped. |
| 302 const std::string kMountName = "X%20Y"; | 302 const std::string kMountName = "X%20Y"; |
| 303 | 303 |
| 304 const std::string url_string = | 304 const std::string url_string = |
| 305 GetExternalFileSystemRootURIString(kOriginURL, kMountName); | 305 GetExternalFileSystemRootURIString(kOriginURL, kMountName); |
| 306 EXPECT_EQ("filesystem:http://foo/external/X%2520Y/", url_string); | 306 EXPECT_EQ("filesystem:http://foo/external/X%2520Y/", url_string); |
| 307 } | 307 } |
| 308 | 308 |
| 309 } // namespace | 309 } // namespace |
| 310 } // namespace content | 310 } // namespace content |
| OLD | NEW |