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

Side by Side Diff: chrome/browser/chromeos/drive/file_system_util_unittest.cc

Issue 14895013: Move webkit/fileapi/file_system_mount_point_provider.h to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more rebase 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
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 "chrome/browser/chromeos/drive/file_system_util.h" 5 #include "chrome/browser/chromeos/drive/file_system_util.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/test/base/testing_profile.h" 11 #include "chrome/test/base/testing_profile.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "webkit/browser/fileapi/file_system_mount_point_provider.h"
13 #include "webkit/fileapi/external_mount_points.h" 14 #include "webkit/fileapi/external_mount_points.h"
14 #include "webkit/fileapi/file_system_context.h" 15 #include "webkit/fileapi/file_system_context.h"
15 #include "webkit/fileapi/file_system_mount_point_provider.h"
16 #include "webkit/fileapi/file_system_task_runners.h" 16 #include "webkit/fileapi/file_system_task_runners.h"
17 #include "webkit/fileapi/file_system_url.h" 17 #include "webkit/fileapi/file_system_url.h"
18 #include "webkit/fileapi/isolated_context.h" 18 #include "webkit/fileapi/isolated_context.h"
19 #include "webkit/fileapi/mock_file_system_options.h" 19 #include "webkit/fileapi/mock_file_system_options.h"
20 20
21 namespace drive { 21 namespace drive {
22 namespace util { 22 namespace util {
23 23
24 TEST(FileSystemUtilTest, FilePathToDriveURL) { 24 TEST(FileSystemUtilTest, FilePathToDriveURL) {
25 base::FilePath path; 25 base::FilePath path;
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 EXPECT_FALSE(util::IsSpecialResourceId("file:123")); 271 EXPECT_FALSE(util::IsSpecialResourceId("file:123"));
272 EXPECT_FALSE(util::IsSpecialResourceId("folder:root")); 272 EXPECT_FALSE(util::IsSpecialResourceId("folder:root"));
273 EXPECT_FALSE(util::IsSpecialResourceId("folder:xyz")); 273 EXPECT_FALSE(util::IsSpecialResourceId("folder:xyz"));
274 274
275 EXPECT_TRUE(util::IsSpecialResourceId("<drive>")); 275 EXPECT_TRUE(util::IsSpecialResourceId("<drive>"));
276 EXPECT_TRUE(util::IsSpecialResourceId("<other>")); 276 EXPECT_TRUE(util::IsSpecialResourceId("<other>"));
277 } 277 }
278 278
279 } // namespace util 279 } // namespace util
280 } // namespace drive 280 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698