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

Side by Side Diff: ui/file_manager/zip_archiver/cpp/request.h

Issue 2807063002: Replace Libarchive with MiniZip. (Closed)
Patch Set: Fix a few nits. Created 3 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
« no previous file with comments | « ui/file_manager/zip_archiver/cpp/module.cc ('k') | ui/file_manager/zip_archiver/cpp/request.cc » ('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 2014 The Chromium OS Authors. All rights reserved. 1 // Copyright 2014 The Chromium OS 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 REQUEST_H_ 5 #ifndef REQUEST_H_
6 #define REQUEST_H_ 6 #define REQUEST_H_
7 7
8 #include "ppapi/cpp/var_array_buffer.h" 8 #include "ppapi/cpp/var_array_buffer.h"
9 #include "ppapi/cpp/var_dictionary.h" 9 #include "ppapi/cpp/var_dictionary.h"
10 10
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 const pp::VarArrayBuffer& array_buffer, 133 const pp::VarArrayBuffer& array_buffer,
134 bool has_more_data); 134 bool has_more_data);
135 135
136 pp::VarDictionary CreateCreateArchiveDoneResponse(int compressor_id); 136 pp::VarDictionary CreateCreateArchiveDoneResponse(int compressor_id);
137 137
138 pp::VarDictionary CreateReadFileChunkRequest(int compressor_id, 138 pp::VarDictionary CreateReadFileChunkRequest(int compressor_id,
139 int64_t length); 139 int64_t length);
140 140
141 pp::VarDictionary CreateWriteChunkRequest(int compressor_id, 141 pp::VarDictionary CreateWriteChunkRequest(int compressor_id,
142 const pp::VarArrayBuffer& array_buffer , 142 const pp::VarArrayBuffer& array_buffer ,
143 int64_t offset,
143 int64_t length); 144 int64_t length);
144 145
145 pp::VarDictionary CreateAddToArchiveDoneResponse(int compressor_id); 146 pp::VarDictionary CreateAddToArchiveDoneResponse(int compressor_id);
146 147
147 pp::VarDictionary CreateCloseArchiveDoneResponse(int compressor_id); 148 pp::VarDictionary CreateCloseArchiveDoneResponse(int compressor_id);
148 149
149 // Creates a file system error. 150 // Creates a file system error.
150 pp::VarDictionary CreateFileSystemError(const std::string& file_system_id, 151 pp::VarDictionary CreateFileSystemError(const std::string& file_system_id,
151 const std::string& request_id, 152 const std::string& request_id,
152 const std::string& error); 153 const std::string& error);
(...skipping 11 matching lines...) Expand all
164 const std::string& error); 165 const std::string& error);
165 166
166 // Obtains a int64_t from a string value inside dictionary based on a 167 // Obtains a int64_t from a string value inside dictionary based on a
167 // request::Key. 168 // request::Key.
168 int64_t GetInt64FromString(const pp::VarDictionary& dictionary, 169 int64_t GetInt64FromString(const pp::VarDictionary& dictionary,
169 const std::string& request_key); 170 const std::string& request_key);
170 171
171 } // namespace request 172 } // namespace request
172 173
173 #endif // REQUEST_H_ 174 #endif // REQUEST_H_
OLDNEW
« no previous file with comments | « ui/file_manager/zip_archiver/cpp/module.cc ('k') | ui/file_manager/zip_archiver/cpp/request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698