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

Side by Side Diff: webkit/fileapi/local_file_system_operation.h

Issue 11103031: webkit: Merge blob and fileapi into one build target 'storage' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: _ Created 8 years, 2 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 #ifndef WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_ 5 #ifndef WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_
6 #define WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_ 6 #define WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/scoped_vector.h" 12 #include "base/memory/scoped_vector.h"
13 #include "webkit/fileapi/file_system_file_util.h" 13 #include "webkit/fileapi/file_system_file_util.h"
14 #include "webkit/fileapi/file_system_operation.h" 14 #include "webkit/fileapi/file_system_operation.h"
15 #include "webkit/fileapi/file_system_operation_context.h" 15 #include "webkit/fileapi/file_system_operation_context.h"
16 #include "webkit/fileapi/file_system_url.h" 16 #include "webkit/fileapi/file_system_url.h"
17 #include "webkit/fileapi/file_writer_delegate.h" 17 #include "webkit/fileapi/file_writer_delegate.h"
18 #include "webkit/fileapi/fileapi_export.h"
19 #include "webkit/quota/quota_types.h" 18 #include "webkit/quota/quota_types.h"
19 #include "webkit/storage/storage_export.h"
20 20
21 namespace chromeos { 21 namespace chromeos {
22 class CrosMountPointProvider; 22 class CrosMountPointProvider;
23 } 23 }
24 24
25 namespace fileapi { 25 namespace fileapi {
26 26
27 class FileSystemContext; 27 class FileSystemContext;
28 28
29 // FileSystemOperation implementation for local file systems. 29 // FileSystemOperation implementation for local file systems.
30 class FILEAPI_EXPORT LocalFileSystemOperation 30 class STORAGE_EXPORT LocalFileSystemOperation
31 : public NON_EXPORTED_BASE(FileSystemOperation) { 31 : public NON_EXPORTED_BASE(FileSystemOperation) {
32 public: 32 public:
33 virtual ~LocalFileSystemOperation(); 33 virtual ~LocalFileSystemOperation();
34 34
35 // FileSystemOperation overrides. 35 // FileSystemOperation overrides.
36 virtual void CreateFile(const FileSystemURL& url, 36 virtual void CreateFile(const FileSystemURL& url,
37 bool exclusive, 37 bool exclusive,
38 const StatusCallback& callback) OVERRIDE; 38 const StatusCallback& callback) OVERRIDE;
39 virtual void CreateDirectory(const FileSystemURL& url, 39 virtual void CreateDirectory(const FileSystemURL& url,
40 bool exclusive, 40 bool exclusive,
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 // LocalFileSystemOperation instance is usually deleted upon completion but 256 // LocalFileSystemOperation instance is usually deleted upon completion but
257 // could be deleted while it has inflight callbacks when Cancel is called. 257 // could be deleted while it has inflight callbacks when Cancel is called.
258 base::WeakPtrFactory<LocalFileSystemOperation> weak_factory_; 258 base::WeakPtrFactory<LocalFileSystemOperation> weak_factory_;
259 259
260 DISALLOW_COPY_AND_ASSIGN(LocalFileSystemOperation); 260 DISALLOW_COPY_AND_ASSIGN(LocalFileSystemOperation);
261 }; 261 };
262 262
263 } // namespace fileapi 263 } // namespace fileapi
264 264
265 #endif // WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_ 265 #endif // WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698