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

Side by Side Diff: content/browser/fileapi/file_system_url_unittest.cc

Issue 559063002: Remove webkit/browser/, point everything to storage/browser/ instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up DEPS per feedback 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/browser/fileapi/file_system_url.h" 5 #include "storage/browser/fileapi/file_system_url.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "storage/common/fileapi/file_system_types.h" 8 #include "storage/common/fileapi/file_system_types.h"
9 #include "storage/common/fileapi/file_system_util.h" 9 #include "storage/common/fileapi/file_system_util.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "url/gurl.h" 11 #include "url/gurl.h"
12 12
13 #define FPL FILE_PATH_LITERAL 13 #define FPL FILE_PATH_LITERAL
14 14
15 #if defined(FILE_PATH_USES_DRIVE_LETTERS) 15 #if defined(FILE_PATH_USES_DRIVE_LETTERS)
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 base::FilePath::FromUTF8Unsafe("a")); 212 base::FilePath::FromUTF8Unsafe("a"));
213 213
214 EXPECT_TRUE(url_foo_temp_a.IsInSameFileSystem(url_foo_temp_a)); 214 EXPECT_TRUE(url_foo_temp_a.IsInSameFileSystem(url_foo_temp_a));
215 EXPECT_TRUE(url_foo_temp_a.IsInSameFileSystem(url_foo_temp_b)); 215 EXPECT_TRUE(url_foo_temp_a.IsInSameFileSystem(url_foo_temp_b));
216 EXPECT_FALSE(url_foo_temp_a.IsInSameFileSystem(url_foo_perm_a)); 216 EXPECT_FALSE(url_foo_temp_a.IsInSameFileSystem(url_foo_perm_a));
217 EXPECT_FALSE(url_foo_temp_a.IsInSameFileSystem(url_bar_temp_a)); 217 EXPECT_FALSE(url_foo_temp_a.IsInSameFileSystem(url_bar_temp_a));
218 EXPECT_FALSE(url_foo_temp_a.IsInSameFileSystem(url_bar_perm_a)); 218 EXPECT_FALSE(url_foo_temp_a.IsInSameFileSystem(url_bar_perm_a));
219 } 219 }
220 220
221 } // namespace content 221 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698