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

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

Issue 15859007: Move browser-specific FileAPI code from webkit/fileapi to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dump_file_system build fix 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) 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/remove_operation_delegate.h" 5 #include "webkit/browser/fileapi/remove_operation_delegate.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "webkit/browser/fileapi/file_system_context.h"
9 #include "webkit/browser/fileapi/file_system_operation_context.h"
8 #include "webkit/browser/fileapi/local_file_system_operation.h" 10 #include "webkit/browser/fileapi/local_file_system_operation.h"
9 #include "webkit/fileapi/file_system_context.h"
10 #include "webkit/fileapi/file_system_operation_context.h"
11 11
12 namespace fileapi { 12 namespace fileapi {
13 13
14 RemoveOperationDelegate::RemoveOperationDelegate( 14 RemoveOperationDelegate::RemoveOperationDelegate(
15 FileSystemContext* file_system_context, 15 FileSystemContext* file_system_context,
16 LocalFileSystemOperation* operation, 16 LocalFileSystemOperation* operation,
17 const FileSystemURL& url, 17 const FileSystemURL& url,
18 const StatusCallback& callback) 18 const StatusCallback& callback)
19 : RecursiveOperationDelegate(file_system_context, operation), 19 : RecursiveOperationDelegate(file_system_context, operation),
20 url_(url), 20 url_(url),
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 return; 78 return;
79 } 79 }
80 FileSystemURL url = to_remove_directories_.top(); 80 FileSystemURL url = to_remove_directories_.top();
81 to_remove_directories_.pop(); 81 to_remove_directories_.pop();
82 NewNestedOperation()->RemoveDirectory(url, base::Bind( 82 NewNestedOperation()->RemoveDirectory(url, base::Bind(
83 &RemoveOperationDelegate::RemoveNextDirectory, 83 &RemoveOperationDelegate::RemoveNextDirectory,
84 AsWeakPtr())); 84 AsWeakPtr()));
85 } 85 }
86 86
87 } // namespace fileapi 87 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/remove_operation_delegate.h ('k') | webkit/browser/fileapi/sandbox_file_stream_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698