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

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

Issue 10800084: Remove non-streaming translation code from pnacl coordinator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h
diff --git a/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h b/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h
index 5277739d5efc2de408ac51fec1c94460f1e9cae1..ecb0aaf1e69e3068198dcb057e22f07ea04668cb 100644
--- a/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h
+++ b/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h
@@ -41,7 +41,7 @@ class PnaclTranslateThread {
nacl::DescWrapper* pexe_wrapper,
ErrorInfo* error_info,
PnaclResources* resources,
- Plugin* plugin);
+ Plugin* plugin) = 0;
// Returns true if the translate thread and subprocesses should stop.
bool SubprocessesShouldDie();
// Signal the translate thread and subprocesses that they should stop.
@@ -56,7 +56,7 @@ class PnaclTranslateThread {
// PnaclTranslateThread and calls DoTranslate().
static void WINAPI DoTranslateThread(void* arg);
// Runs the SRPCs that control translation. Called from the helper thread.
- virtual void DoTranslate();
+ virtual void DoTranslate() = 0;
// Signal that Pnacl translation failed, from the translation thread only.
void TranslateFailed(const nacl::string& error_string);
// Run the LD subprocess, returning true on success

Powered by Google App Engine
This is Rietveld 408576698