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

Side by Side Diff: webkit/browser/fileapi/async_file_util_adapter.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_ASYNC_FILE_UTIL_ADAPTER_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_ASYNC_FILE_UTIL_ADAPTER_H_
6 #define WEBKIT_BROWSER_FILEAPI_ASYNC_FILE_UTIL_ADAPTER_H_ 6 #define WEBKIT_BROWSER_FILEAPI_ASYNC_FILE_UTIL_ADAPTER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "webkit/browser/fileapi/async_file_util.h" 9 #include "webkit/browser/fileapi/async_file_util.h"
10 10
11 namespace fileapi { 11 namespace storage {
12 12
13 class FileSystemFileUtil; 13 class FileSystemFileUtil;
14 14
15 // An adapter class for FileSystemFileUtil classes to provide asynchronous 15 // An adapter class for FileSystemFileUtil classes to provide asynchronous
16 // interface. 16 // interface.
17 // 17 //
18 // A filesystem can do either: 18 // A filesystem can do either:
19 // - implement a synchronous version of FileUtil by extending 19 // - implement a synchronous version of FileUtil by extending
20 // FileSystemFileUtil and atach it to this adapter, or 20 // FileSystemFileUtil and atach it to this adapter, or
21 // - directly implement AsyncFileUtil. 21 // - directly implement AsyncFileUtil.
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 scoped_ptr<FileSystemOperationContext> context, 106 scoped_ptr<FileSystemOperationContext> context,
107 const FileSystemURL& url, 107 const FileSystemURL& url,
108 const CreateSnapshotFileCallback& callback) OVERRIDE; 108 const CreateSnapshotFileCallback& callback) OVERRIDE;
109 109
110 private: 110 private:
111 scoped_ptr<FileSystemFileUtil> sync_file_util_; 111 scoped_ptr<FileSystemFileUtil> sync_file_util_;
112 112
113 DISALLOW_COPY_AND_ASSIGN(AsyncFileUtilAdapter); 113 DISALLOW_COPY_AND_ASSIGN(AsyncFileUtilAdapter);
114 }; 114 };
115 115
116 } // namespace fileapi 116 } // namespace storage
117 117
118 #endif // WEBKIT_BROWSER_FILEAPI_ASYNC_FILE_UTIL_ADAPTER_H_ 118 #endif // WEBKIT_BROWSER_FILEAPI_ASYNC_FILE_UTIL_ADAPTER_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/async_file_util.h ('k') | webkit/browser/fileapi/async_file_util_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698