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

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

Issue 14320038: Fix some includes in CopyOrMoveFileValidator code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/copy_or_move_file_validator.h ('k') | no next file » | 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) 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/fileapi/cross_operation_delegate.h" 5 #include "webkit/fileapi/cross_operation_delegate.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file_path.h"
8 #include "webkit/blob/shareable_file_reference.h" 9 #include "webkit/blob/shareable_file_reference.h"
9 #include "webkit/fileapi/copy_or_move_file_validator.h" 10 #include "webkit/fileapi/copy_or_move_file_validator.h"
10 #include "webkit/fileapi/file_system_context.h" 11 #include "webkit/fileapi/file_system_context.h"
11 #include "webkit/fileapi/file_system_operation_context.h" 12 #include "webkit/fileapi/file_system_operation_context.h"
13 #include "webkit/fileapi/file_system_url.h"
12 #include "webkit/fileapi/file_system_util.h" 14 #include "webkit/fileapi/file_system_util.h"
13 #include "webkit/fileapi/local_file_system_operation.h" 15 #include "webkit/fileapi/local_file_system_operation.h"
14 16
15 namespace fileapi { 17 namespace fileapi {
16 18
17 CrossOperationDelegate::CrossOperationDelegate( 19 CrossOperationDelegate::CrossOperationDelegate(
18 FileSystemContext* file_system_context, 20 FileSystemContext* file_system_context,
19 scoped_ptr<LocalFileSystemOperation> src_root_operation, 21 scoped_ptr<LocalFileSystemOperation> src_root_operation,
20 LocalFileSystemOperation* dest_root_operation, 22 LocalFileSystemOperation* dest_root_operation,
21 const FileSystemURL& src_root, 23 const FileSystemURL& src_root,
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 return NewNestedOperation(); 237 return NewNestedOperation();
236 } 238 }
237 239
238 LocalFileSystemOperation* CrossOperationDelegate::NewSourceOperation() { 240 LocalFileSystemOperation* CrossOperationDelegate::NewSourceOperation() {
239 if (same_file_system_) 241 if (same_file_system_)
240 return NewDestOperation(); 242 return NewDestOperation();
241 return src_root_operation_->CreateNestedOperation(); 243 return src_root_operation_->CreateNestedOperation();
242 } 244 }
243 245
244 } // namespace fileapi 246 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/fileapi/copy_or_move_file_validator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698