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

Unified Diff: webkit/browser/fileapi/file_system_operation_impl.h

Issue 23835005: Remove dependency to file_system_operation_impl.h from chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: webkit/browser/fileapi/file_system_operation_impl.h
diff --git a/webkit/browser/fileapi/file_system_operation_impl.h b/webkit/browser/fileapi/file_system_operation_impl.h
index af9768d7e89ed99de6da34fa63d6d5903300f9df..8164e0d1df9759a1203fee07676c75e725fde249 100644
--- a/webkit/browser/fileapi/file_system_operation_impl.h
+++ b/webkit/browser/fileapi/file_system_operation_impl.h
@@ -28,15 +28,6 @@ class RecursiveOperationDelegate;
class WEBKIT_STORAGE_BROWSER_EXPORT FileSystemOperationImpl
: public NON_EXPORTED_BASE(FileSystemOperation) {
public:
- // NOTE: This constructor should not be called outside FileSystemBackends;
- // instead please consider using
- // file_system_context->CreateFileSystemOperation() to instantiate
- // an appropriate FileSystemOperation.
- FileSystemOperationImpl(
- const FileSystemURL& url,
- FileSystemContext* file_system_context,
- scoped_ptr<FileSystemOperationContext> operation_context);
-
virtual ~FileSystemOperationImpl();
// FileSystemOperation overrides.
@@ -103,6 +94,13 @@ class WEBKIT_STORAGE_BROWSER_EXPORT FileSystemOperationImpl
}
private:
+ friend class FileSystemOperation;
+
+ FileSystemOperationImpl(
+ const FileSystemURL& url,
+ FileSystemContext* file_system_context,
+ scoped_ptr<FileSystemOperationContext> operation_context);
+
// Queries the quota and usage and then runs the given |task|.
// If an error occurs during the quota query it runs |error_callback| instead.
void GetUsageAndQuotaThenRunTask(
« no previous file with comments | « webkit/browser/fileapi/file_system_operation.h ('k') | webkit/browser/fileapi/file_system_operation_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698