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

Side by Side Diff: webkit/browser/fileapi/isolated_file_util.cc

Issue 15746017: Move webkit/blob to new locations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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) 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/browser/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 "base/file_util.h" 10 #include "base/file_util.h"
11 #include "webkit/blob/shareable_file_reference.h"
12 #include "webkit/browser/fileapi/file_system_context.h" 11 #include "webkit/browser/fileapi/file_system_context.h"
13 #include "webkit/browser/fileapi/file_system_operation_context.h" 12 #include "webkit/browser/fileapi/file_system_operation_context.h"
14 #include "webkit/browser/fileapi/file_system_url.h" 13 #include "webkit/browser/fileapi/file_system_url.h"
15 #include "webkit/browser/fileapi/isolated_context.h" 14 #include "webkit/browser/fileapi/isolated_context.h"
16 #include "webkit/browser/fileapi/native_file_util.h" 15 #include "webkit/browser/fileapi/native_file_util.h"
16 #include "webkit/common/blob/shareable_file_reference.h"
17 17
18 using base::PlatformFileError; 18 using base::PlatformFileError;
19 using base::PlatformFileInfo; 19 using base::PlatformFileInfo;
20 20
21 namespace fileapi { 21 namespace fileapi {
22 22
23 typedef IsolatedContext::MountPointInfo FileInfo; 23 typedef IsolatedContext::MountPointInfo FileInfo;
24 24
25 namespace { 25 namespace {
26 26
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 return LocalFileUtil::CreateFileEnumerator(context, root); 117 return LocalFileUtil::CreateFileEnumerator(context, root);
118 118
119 // Root path case. 119 // Root path case.
120 std::vector<FileInfo> toplevels; 120 std::vector<FileInfo> toplevels;
121 IsolatedContext::GetInstance()->GetDraggedFileInfo( 121 IsolatedContext::GetInstance()->GetDraggedFileInfo(
122 root.filesystem_id(), &toplevels); 122 root.filesystem_id(), &toplevels);
123 return scoped_ptr<AbstractFileEnumerator>(new SetFileEnumerator(toplevels)); 123 return scoped_ptr<AbstractFileEnumerator>(new SetFileEnumerator(toplevels));
124 } 124 }
125 125
126 } // namespace fileapi 126 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/file_system_url_request_job.cc ('k') | webkit/browser/fileapi/isolated_mount_point_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698