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

Side by Side Diff: webkit/browser/fileapi/external_mount_points_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/browser/fileapi/external_mount_points.h" 5 #include "webkit/browser/fileapi/external_mount_points.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "webkit/fileapi/file_system_url.h" 11 #include "webkit/browser/fileapi/file_system_url.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)
16 #define DRIVE FPL("C:") 16 #define DRIVE FPL("C:")
17 #else 17 #else
18 #define DRIVE 18 #define DRIVE
19 #endif 19 #endif
20 20
21 using fileapi::FileSystemURL; 21 using fileapi::FileSystemURL;
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 EXPECT_EQ(base::FilePath(kTestCases[i].expect_path).NormalizePathSeparators( ), 453 EXPECT_EQ(base::FilePath(kTestCases[i].expect_path).NormalizePathSeparators( ),
454 cracked_path) 454 cracked_path)
455 << "Test case index: " << i; 455 << "Test case index: " << i;
456 EXPECT_EQ(kTestCases[i].expect_name, cracked_name) 456 EXPECT_EQ(kTestCases[i].expect_name, cracked_name)
457 << "Test case index: " << i; 457 << "Test case index: " << i;
458 } 458 }
459 } 459 }
460 460
461 } // namespace 461 } // namespace
462 462
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/external_mount_points.cc ('k') | webkit/browser/fileapi/file_permission_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698