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

Side by Side Diff: webkit/chromeos/fileapi/cros_mount_point_provider_unittest.cc

Issue 15859007: Move browser-specific FileAPI code from webkit/fileapi to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dump_file_system build fix 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/chromeos/fileapi/cros_mount_point_provider.h" 5 #include "webkit/chromeos/fileapi/cros_mount_point_provider.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "chromeos/dbus/cros_disks_client.h" 10 #include "chromeos/dbus/cros_disks_client.h"
11 #include "googleurl/src/url_util.h" 11 #include "googleurl/src/url_util.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "webkit/browser/fileapi/external_mount_points.h" 13 #include "webkit/browser/fileapi/external_mount_points.h"
14 #include "webkit/browser/fileapi/file_permission_policy.h"
15 #include "webkit/browser/fileapi/file_system_url.h"
14 #include "webkit/browser/fileapi/isolated_context.h" 16 #include "webkit/browser/fileapi/isolated_context.h"
15 #include "webkit/fileapi/file_permission_policy.h"
16 #include "webkit/fileapi/file_system_url.h"
17 #include "webkit/quota/mock_special_storage_policy.h" 17 #include "webkit/quota/mock_special_storage_policy.h"
18 18
19 #define FPL(x) FILE_PATH_LITERAL(x) 19 #define FPL(x) FILE_PATH_LITERAL(x)
20 20
21 using fileapi::ExternalMountPoints; 21 using fileapi::ExternalMountPoints;
22 using fileapi::FileSystemURL; 22 using fileapi::FileSystemURL;
23 23
24 namespace { 24 namespace {
25 25
26 FileSystemURL CreateFileSystemURL(const std::string& extension, 26 FileSystemURL CreateFileSystemURL(const std::string& extension,
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 if (!kTestCases[i].success) 293 if (!kTestCases[i].success)
294 continue; 294 continue;
295 295
296 base::FilePath expected_virtual_path(kTestCases[i].virtual_path); 296 base::FilePath expected_virtual_path(kTestCases[i].virtual_path);
297 EXPECT_EQ(expected_virtual_path, virtual_path) 297 EXPECT_EQ(expected_virtual_path, virtual_path)
298 << "Resolving " << kTestCases[i].local_path; 298 << "Resolving " << kTestCases[i].local_path;
299 } 299 }
300 } 300 }
301 301
302 } // namespace 302 } // namespace
OLDNEW
« no previous file with comments | « webkit/chromeos/fileapi/cros_mount_point_provider.cc ('k') | webkit/chromeos/fileapi/remote_file_stream_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698