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

Side by Side Diff: webkit/chromeos/fileapi/remote_file_system_operation.h

Issue 14265022: [Quota][FileAPI] Add quota policy to FileSystemOperationContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: drop .gitmodule change Created 7 years, 8 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_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ 5 #ifndef WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_
6 #define WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ 6 #define WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_
7 7
8 #include "webkit/fileapi/file_system_operation.h" 8 #include "webkit/fileapi/file_system_operation.h"
9 #include "webkit/fileapi/file_writer_delegate.h" 9 #include "webkit/fileapi/file_writer_delegate.h"
10 #include "webkit/fileapi/remote_file_system_proxy.h" 10 #include "webkit/fileapi/remote_file_system_proxy.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 void DidCreateSnapshotFile( 110 void DidCreateSnapshotFile(
111 const SnapshotFileCallback& callback, 111 const SnapshotFileCallback& callback,
112 base::PlatformFileError result, 112 base::PlatformFileError result,
113 const base::PlatformFileInfo& file_info, 113 const base::PlatformFileInfo& file_info,
114 const base::FilePath& platform_path, 114 const base::FilePath& platform_path,
115 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref); 115 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref);
116 void DidOpenFile( 116 void DidOpenFile(
117 const OpenFileCallback& callback, 117 const OpenFileCallback& callback,
118 base::PlatformFileError result, 118 base::PlatformFileError result,
119 base::PlatformFile file, 119 base::PlatformFile file,
120 base::ProcessHandle peer_handle); 120 base::ProcessHandle peer_handle,
121 121 quota::QuotaLimitType quota_limit_type);
122 122
123 scoped_refptr<fileapi::RemoteFileSystemProxyInterface> remote_proxy_; 123 scoped_refptr<fileapi::RemoteFileSystemProxyInterface> remote_proxy_;
124 // A flag to make sure we call operation only once per instance. 124 // A flag to make sure we call operation only once per instance.
125 OperationType pending_operation_; 125 OperationType pending_operation_;
126 scoped_ptr<fileapi::FileWriterDelegate> file_writer_delegate_; 126 scoped_ptr<fileapi::FileWriterDelegate> file_writer_delegate_;
127 127
128 WriteCallback write_callback_; 128 WriteCallback write_callback_;
129 StatusCallback cancel_callback_; 129 StatusCallback cancel_callback_;
130 130
131 DISALLOW_COPY_AND_ASSIGN(RemoteFileSystemOperation); 131 DISALLOW_COPY_AND_ASSIGN(RemoteFileSystemOperation);
132 }; 132 };
133 133
134 } // namespace chromeos 134 } // namespace chromeos
135 135
136 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ 136 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698