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

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

Issue 15535006: Move browser-specific FileAPI code from webkit/fileapi 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) 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/browser/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 "base/files/file_path.h"
9 #include "webkit/blob/shareable_file_reference.h" 9 #include "webkit/blob/shareable_file_reference.h"
10 #include "webkit/fileapi/copy_or_move_file_validator.h" 10 #include "webkit/browser/fileapi/copy_or_move_file_validator.h"
11 #include "webkit/fileapi/file_system_context.h" 11 #include "webkit/fileapi/file_system_context.h"
12 #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" 13 #include "webkit/fileapi/file_system_url.h"
14 #include "webkit/fileapi/file_system_util.h" 14 #include "webkit/fileapi/file_system_util.h"
15 #include "webkit/fileapi/local_file_system_operation.h" 15 #include "webkit/fileapi/local_file_system_operation.h"
16 16
17 namespace fileapi { 17 namespace fileapi {
18 18
19 CrossOperationDelegate::CrossOperationDelegate( 19 CrossOperationDelegate::CrossOperationDelegate(
20 FileSystemContext* file_system_context, 20 FileSystemContext* file_system_context,
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 return NewNestedOperation(); 237 return NewNestedOperation();
238 } 238 }
239 239
240 LocalFileSystemOperation* CrossOperationDelegate::NewSourceOperation() { 240 LocalFileSystemOperation* CrossOperationDelegate::NewSourceOperation() {
241 if (same_file_system_) 241 if (same_file_system_)
242 return NewDestOperation(); 242 return NewDestOperation();
243 return src_root_operation_->CreateNestedOperation(); 243 return src_root_operation_->CreateNestedOperation();
244 } 244 }
245 245
246 } // namespace fileapi 246 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/cross_operation_delegate.h ('k') | webkit/browser/fileapi/file_system_quota_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698