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

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

Issue 16010007: Move webkit/quota files to webkit/browser/quota or webkit/common/quota (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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/browser/chromeos/fileapi/cros_mount_point_provider.h" 5 #include "webkit/browser/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" 14 #include "webkit/browser/fileapi/file_permission_policy.h"
15 #include "webkit/browser/fileapi/file_system_url.h" 15 #include "webkit/browser/fileapi/file_system_url.h"
16 #include "webkit/browser/fileapi/isolated_context.h" 16 #include "webkit/browser/fileapi/isolated_context.h"
17 #include "webkit/quota/mock_special_storage_policy.h" 17 #include "webkit/browser/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,
27 const char* path, 27 const char* path,
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 if (!kTestCases[i].success) 295 if (!kTestCases[i].success)
296 continue; 296 continue;
297 297
298 base::FilePath expected_virtual_path(kTestCases[i].virtual_path); 298 base::FilePath expected_virtual_path(kTestCases[i].virtual_path);
299 EXPECT_EQ(expected_virtual_path, virtual_path) 299 EXPECT_EQ(expected_virtual_path, virtual_path)
300 << "Resolving " << kTestCases[i].local_path; 300 << "Resolving " << kTestCases[i].local_path;
301 } 301 }
302 } 302 }
303 303
304 } // namespace 304 } // namespace
OLDNEW
« no previous file with comments | « webkit/browser/chromeos/fileapi/cros_mount_point_provider.h ('k') | webkit/browser/database/database_quota_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698