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

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: Leave *.gypi files in blob and fileapi 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
« no previous file with comments | « webkit/fileapi/local_file_stream_writer.h ('k') | webkit/fileapi/local_file_util.h » ('j') | 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) 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/webkit_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 WEBKIT_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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 // LocalFileSystemOperation instance is usually deleted upon completion but 270 // LocalFileSystemOperation instance is usually deleted upon completion but
271 // could be deleted while it has inflight callbacks when Cancel is called. 271 // could be deleted while it has inflight callbacks when Cancel is called.
272 base::WeakPtrFactory<LocalFileSystemOperation> weak_factory_; 272 base::WeakPtrFactory<LocalFileSystemOperation> weak_factory_;
273 273
274 DISALLOW_COPY_AND_ASSIGN(LocalFileSystemOperation); 274 DISALLOW_COPY_AND_ASSIGN(LocalFileSystemOperation);
275 }; 275 };
276 276
277 } // namespace fileapi 277 } // namespace fileapi
278 278
279 #endif // WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_ 279 #endif // WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/local_file_stream_writer.h ('k') | webkit/fileapi/local_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698