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

Side by Side Diff: webkit/fileapi/file_system_url_unittest.cc

Issue 15994002: Move more browser-specific webkit/fileapi code to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/fileapi/file_system_url.cc ('k') | webkit/fileapi/file_writer_delegate_unittest.cc » ('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/fileapi/file_system_url.h" 5 #include "webkit/fileapi/file_system_url.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "webkit/fileapi/external_mount_points.h" 10 #include "webkit/browser/fileapi/external_mount_points.h"
11 #include "webkit/browser/fileapi/isolated_context.h"
11 #include "webkit/fileapi/file_system_types.h" 12 #include "webkit/fileapi/file_system_types.h"
12 #include "webkit/fileapi/file_system_util.h" 13 #include "webkit/fileapi/file_system_util.h"
13 #include "webkit/fileapi/isolated_context.h"
14 #include "webkit/fileapi/syncable/syncable_file_system_util.h" 14 #include "webkit/fileapi/syncable/syncable_file_system_util.h"
15 15
16 #define FPL FILE_PATH_LITERAL 16 #define FPL FILE_PATH_LITERAL
17 17
18 #if defined(FILE_PATH_USES_DRIVE_LETTERS) 18 #if defined(FILE_PATH_USES_DRIVE_LETTERS)
19 #define DRIVE FPL("C:") 19 #define DRIVE FPL("C:")
20 #else 20 #else
21 #define DRIVE FPL("/a/") 21 #define DRIVE FPL("/a/")
22 #endif 22 #endif
23 23
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 kFileSystemTypeExternal, 203 kFileSystemTypeExternal,
204 scoped_fs.GetVirtualRootPath().Append(kPath))); 204 scoped_fs.GetVirtualRootPath().Append(kPath)));
205 EXPECT_EQ("filesystem:http://example.com/external/" + 205 EXPECT_EQ("filesystem:http://example.com/external/" +
206 NormalizedUTF8Path(scoped_fs.GetVirtualRootPath().Append(kPath)) + 206 NormalizedUTF8Path(scoped_fs.GetVirtualRootPath().Append(kPath)) +
207 " (NativeLocal@foo:" + 207 " (NativeLocal@foo:" +
208 NormalizedUTF8Path(kRoot.Append(kPath)) + ")", 208 NormalizedUTF8Path(kRoot.Append(kPath)) + ")",
209 kURL2.DebugString()); 209 kURL2.DebugString());
210 } 210 }
211 211
212 } // namespace fileapi 212 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_url.cc ('k') | webkit/fileapi/file_writer_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698