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

Side by Side Diff: webkit/browser/fileapi/isolated_file_util.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: 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 "webkit/fileapi/isolated_file_util.h" 5 #include "webkit/browser/fileapi/isolated_file_util.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "webkit/blob/shareable_file_reference.h" 10 #include "webkit/blob/shareable_file_reference.h"
11 #include "webkit/fileapi/file_system_context.h" 11 #include "webkit/browser/fileapi/file_system_context.h"
12 #include "webkit/fileapi/file_system_operation_context.h" 12 #include "webkit/browser/fileapi/file_system_operation_context.h"
13 #include "webkit/browser/fileapi/isolated_context.h"
14 #include "webkit/browser/fileapi/native_file_util.h"
13 #include "webkit/fileapi/file_system_url.h" 15 #include "webkit/fileapi/file_system_url.h"
14 #include "webkit/fileapi/isolated_context.h"
15 #include "webkit/fileapi/native_file_util.h"
16 16
17 using base::PlatformFileError; 17 using base::PlatformFileError;
18 using base::PlatformFileInfo; 18 using base::PlatformFileInfo;
19 19
20 namespace fileapi { 20 namespace fileapi {
21 21
22 typedef IsolatedContext::MountPointInfo FileInfo; 22 typedef IsolatedContext::MountPointInfo FileInfo;
23 23
24 namespace { 24 namespace {
25 25
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 return LocalFileUtil::CreateFileEnumerator(context, root); 116 return LocalFileUtil::CreateFileEnumerator(context, root);
117 117
118 // Root path case. 118 // Root path case.
119 std::vector<FileInfo> toplevels; 119 std::vector<FileInfo> toplevels;
120 IsolatedContext::GetInstance()->GetDraggedFileInfo( 120 IsolatedContext::GetInstance()->GetDraggedFileInfo(
121 root.filesystem_id(), &toplevels); 121 root.filesystem_id(), &toplevels);
122 return scoped_ptr<AbstractFileEnumerator>(new SetFileEnumerator(toplevels)); 122 return scoped_ptr<AbstractFileEnumerator>(new SetFileEnumerator(toplevels));
123 } 123 }
124 124
125 } // namespace fileapi 125 } // namespace fileapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698