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

Unified Diff: trunk/src/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h

Issue 406323003: Revert 284684 "Pepper: Delete FileDownloader in trusted plugin." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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: trunk/src/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h
===================================================================
--- trunk/src/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h (revision 284790)
+++ trunk/src/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h (working copy)
@@ -61,7 +61,7 @@
void AbortSubprocesses();
// Send bitcode bytes to the translator. Called from the main thread.
- void PutBytes(const void* data, int count);
+ void PutBytes(std::vector<char>* data, int count);
// Notify the translator that the end of the bitcode stream has been reached.
// Called from the main thread.
@@ -69,9 +69,6 @@
int64_t GetCompileTime() const { return compile_time_; }
- // Returns true if RunTranslate() has been called, false otherwise.
- bool started() const { return plugin_ != NULL; }
-
private:
// Helper thread entry point for translation. Takes a pointer to
// PnaclTranslateThread and calls DoTranslate().

Powered by Google App Engine
This is Rietveld 408576698