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

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

Issue 2804453002: Move files from zip_archiver/unpacker/ to zip_archiver/. (Closed)
Patch Set: Move files from zip_archiver/unpacker/ to zip_archiver/. 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
OLDNEW
1 // Copyright 2017 The Chromium OS Authors. All rights reserved. 1 // Copyright 2017 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 JAVASCRIPT_COMPRESSOR_REQUESTOR_INTERFACE_H_ 5 #ifndef JAVASCRIPT_COMPRESSOR_REQUESTOR_INTERFACE_H_
6 #define JAVASCRIPT_COMPRESSOR_REQUESTOR_INTERFACE_H_ 6 #define JAVASCRIPT_COMPRESSOR_REQUESTOR_INTERFACE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 // Makes requests from Compressor to JavaScript. 10 // Makes requests from Compressor to JavaScript.
11 class JavaScriptCompressorRequestorInterface { 11 class JavaScriptCompressorRequestorInterface {
12 public: 12 public:
13 virtual ~JavaScriptCompressorRequestorInterface() {} 13 virtual ~JavaScriptCompressorRequestorInterface() {}
14 14
15 virtual void WriteChunkRequest(int64_t length, 15 virtual void WriteChunkRequest(int64_t length,
16 const pp::VarArrayBuffer& buffer) = 0; 16 const pp::VarArrayBuffer& buffer) = 0;
17 17
18 virtual void ReadFileChunkRequest(int64_t length) = 0; 18 virtual void ReadFileChunkRequest(int64_t length) = 0;
19 }; 19 };
20 20
21 #endif // JAVASCRIPT_COMPRESSOR_REQUESTOR_INTERFACE_H_ 21 #endif // JAVASCRIPT_COMPRESSOR_REQUESTOR_INTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698