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

Side by Side Diff: webkit/fileapi/sandbox_mount_point_provider_unittest.cc

Issue 7470037: [Refactor] to rename and re-layer the file_util stack layers. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebased on the svn tree. Created 9 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 | Annotate | Revision Log
« no previous file with comments | « webkit/fileapi/sandbox_mount_point_provider.cc ('k') | webkit/fileapi/webkit_fileapi.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/fileapi/sandbox_mount_point_provider.h" 5 #include "webkit/fileapi/sandbox_mount_point_provider.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 FileSystemPathManager* path_manager() { 158 FileSystemPathManager* path_manager() {
159 return path_manager_; 159 return path_manager_;
160 } 160 }
161 161
162 SandboxMountPointProvider* sandbox_provider() { 162 SandboxMountPointProvider* sandbox_provider() {
163 return path_manager()->sandbox_provider(); 163 return path_manager()->sandbox_provider();
164 } 164 }
165 165
166 FileSystemFileUtil* file_util() { 166 FileSystemFileUtil* file_util() {
167 return sandbox_provider()->GetFileSystemFileUtil(); 167 return sandbox_provider()->GetFileUtil();
168 } 168 }
169 169
170 void OnGetRootPath(bool success, const FilePath& unused, 170 void OnGetRootPath(bool success, const FilePath& unused,
171 const std::string& unused_also) { 171 const std::string& unused_also) {
172 EXPECT_FALSE(success); // We told it not to create. 172 EXPECT_FALSE(success); // We told it not to create.
173 } 173 }
174 174
175 FileSystemPathManager::GetRootPathCallback* GetRootPathCallback() { 175 FileSystemPathManager::GetRootPathCallback* GetRootPathCallback() {
176 return callback_factory_.NewCallback( 176 return callback_factory_.NewCallback(
177 &SandboxMountPointProviderMigrationTest::OnGetRootPath); 177 &SandboxMountPointProviderMigrationTest::OnGetRootPath);
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 399
400 TEST_F(SandboxMountPointProviderMigrationTest, TestMigrateViaMethod8) { 400 TEST_F(SandboxMountPointProviderMigrationTest, TestMigrateViaMethod8) {
401 RunMigrationTest(8); 401 RunMigrationTest(8);
402 } 402 }
403 403
404 TEST_F(SandboxMountPointProviderMigrationTest, TestMigrateViaMethod9) { 404 TEST_F(SandboxMountPointProviderMigrationTest, TestMigrateViaMethod9) {
405 RunMigrationTest(9); 405 RunMigrationTest(9);
406 } 406 }
407 407
408 } // namespace fileapi 408 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/fileapi/sandbox_mount_point_provider.cc ('k') | webkit/fileapi/webkit_fileapi.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698