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

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

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 years, 4 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 #ifndef WEBKIT_BROWSER_FILEAPI_REMOVE_OPERATION_DELEGATE_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_REMOVE_OPERATION_DELEGATE_H_
6 #define WEBKIT_BROWSER_FILEAPI_REMOVE_OPERATION_DELEGATE_H_ 6 #define WEBKIT_BROWSER_FILEAPI_REMOVE_OPERATION_DELEGATE_H_
7 7
8 #include <stack> 8 #include <stack>
9 9
10 #include "webkit/browser/fileapi/recursive_operation_delegate.h" 10 #include "webkit/browser/fileapi/recursive_operation_delegate.h"
11 11
12 namespace fileapi { 12 namespace storage {
13 13
14 class RemoveOperationDelegate : public RecursiveOperationDelegate { 14 class RemoveOperationDelegate : public RecursiveOperationDelegate {
15 public: 15 public:
16 RemoveOperationDelegate(FileSystemContext* file_system_context, 16 RemoveOperationDelegate(FileSystemContext* file_system_context,
17 const FileSystemURL& url, 17 const FileSystemURL& url,
18 const StatusCallback& callback); 18 const StatusCallback& callback);
19 virtual ~RemoveOperationDelegate(); 19 virtual ~RemoveOperationDelegate();
20 20
21 // RecursiveOperationDelegate overrides: 21 // RecursiveOperationDelegate overrides:
22 virtual void Run() OVERRIDE; 22 virtual void Run() OVERRIDE;
(...skipping 11 matching lines...) Expand all
34 base::File::Error remove_directory_error); 34 base::File::Error remove_directory_error);
35 void DidRemoveFile(const StatusCallback& callback, 35 void DidRemoveFile(const StatusCallback& callback,
36 base::File::Error error); 36 base::File::Error error);
37 37
38 FileSystemURL url_; 38 FileSystemURL url_;
39 StatusCallback callback_; 39 StatusCallback callback_;
40 base::WeakPtrFactory<RemoveOperationDelegate> weak_factory_; 40 base::WeakPtrFactory<RemoveOperationDelegate> weak_factory_;
41 DISALLOW_COPY_AND_ASSIGN(RemoveOperationDelegate); 41 DISALLOW_COPY_AND_ASSIGN(RemoveOperationDelegate);
42 }; 42 };
43 43
44 } // namespace fileapi 44 } // namespace storage
45 45
46 #endif // WEBKIT_BROWSER_FILEAPI_REMOVE_OPERATION_DELEGATE_H_ 46 #endif // WEBKIT_BROWSER_FILEAPI_REMOVE_OPERATION_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/recursive_operation_delegate.cc ('k') | webkit/browser/fileapi/remove_operation_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698