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

Side by Side Diff: content/child/fileapi/file_system_dispatcher.h

Issue 23223003: Chromium Blob hacking (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 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 CONTENT_CHILD_FILEAPI_FILE_SYSTEM_DISPATCHER_H_ 5 #ifndef CONTENT_CHILD_FILEAPI_FILE_SYSTEM_DISPATCHER_H_
6 #define CONTENT_CHILD_FILEAPI_FILE_SYSTEM_DISPATCHER_H_ 6 #define CONTENT_CHILD_FILEAPI_FILE_SYSTEM_DISPATCHER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 void Exists(const GURL& path, 93 void Exists(const GURL& path,
94 bool for_directory, 94 bool for_directory,
95 const StatusCallback& callback); 95 const StatusCallback& callback);
96 void ReadDirectory(const GURL& path, 96 void ReadDirectory(const GURL& path,
97 const ReadDirectoryCallback& success_callback, 97 const ReadDirectoryCallback& success_callback,
98 const StatusCallback& error_callback); 98 const StatusCallback& error_callback);
99 void Truncate(const GURL& path, 99 void Truncate(const GURL& path,
100 int64 offset, 100 int64 offset,
101 int* request_id_out, 101 int* request_id_out,
102 const StatusCallback& callback); 102 const StatusCallback& callback);
103 void WriteDeprecated(
104 const GURL& path,
105 const GURL& blob_url,
106 int64 offset,
107 int* request_id_out,
108 const WriteCallback& success_callback,
109 const StatusCallback& error_callback);
103 void Write(const GURL& path, 110 void Write(const GURL& path,
104 const GURL& blob_url, 111 const std::string& blob_id,
105 int64 offset, 112 int64 offset,
106 int* request_id_out, 113 int* request_id_out,
107 const WriteCallback& success_callback, 114 const WriteCallback& success_callback,
108 const StatusCallback& error_callback); 115 const StatusCallback& error_callback);
109 void Cancel(int request_id_to_cancel, 116 void Cancel(int request_id_to_cancel,
110 const StatusCallback& callback); 117 const StatusCallback& callback);
111 void TouchFile(const GURL& file_path, 118 void TouchFile(const GURL& file_path,
112 const base::Time& last_access_time, 119 const base::Time& last_access_time,
113 const base::Time& last_modified_time, 120 const base::Time& last_modified_time,
114 const StatusCallback& callback); 121 const StatusCallback& callback);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 quota::QuotaLimitType quota_policy); 162 quota::QuotaLimitType quota_policy);
156 163
157 IDMap<CallbackDispatcher, IDMapOwnPointer> dispatchers_; 164 IDMap<CallbackDispatcher, IDMapOwnPointer> dispatchers_;
158 165
159 DISALLOW_COPY_AND_ASSIGN(FileSystemDispatcher); 166 DISALLOW_COPY_AND_ASSIGN(FileSystemDispatcher);
160 }; 167 };
161 168
162 } // namespace content 169 } // namespace content
163 170
164 #endif // CONTENT_CHILD_FILEAPI_FILE_SYSTEM_DISPATCHER_H_ 171 #endif // CONTENT_CHILD_FILEAPI_FILE_SYSTEM_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/browser/webui/url_data_manager_backend.cc ('k') | content/child/fileapi/file_system_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698