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

Unified Diff: chrome/plugin/plugin_main.cc

Issue 155558: linux: add flash workarounds (Closed)
Patch Set: Created 11 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: chrome/plugin/plugin_main.cc
diff --git a/chrome/plugin/plugin_main.cc b/chrome/plugin/plugin_main.cc
index 375831a55f7ac669fad95086f4ee5099c99802cd..4de91eb7a2af4c861c55b3ea69b4753cf95e6a15 100644
--- a/chrome/plugin/plugin_main.cc
+++ b/chrome/plugin/plugin_main.cc
@@ -74,8 +74,12 @@ int PluginMain(const MainFunctionParams& parameters) {
<< getpid()
<< ") paused waiting for debugger to attach @ pid";
pause();
-#else
- NOTIMPLEMENTED() << " non-windows startup, plugin startup dialog etc.";
+#elif defined(OS_LINUX)
+ LOG(WARNING) << "Plugin ("
+ << getpid()
+ << ") paused waiting for debugger to attach.";
+ volatile bool paused = true;
+ while (paused) ;
#endif
}

Powered by Google App Engine
This is Rietveld 408576698