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

Unified Diff: webkit/tools/npapi_layout_test_plugin/main.cpp

Issue 118486: Companion change to https://bugs.webkit.org/show_bug.cgi?id=15457. Add loggi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 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
« no previous file with comments | « webkit/glue/webframeloaderclient_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/npapi_layout_test_plugin/main.cpp
===================================================================
--- webkit/tools/npapi_layout_test_plugin/main.cpp (revision 17918)
+++ webkit/tools/npapi_layout_test_plugin/main.cpp (working copy)
@@ -143,6 +143,14 @@
obj->onURLNotify = strdup(argv[i]);
else if (strcasecmp(argn[i], "logfirstsetwindow") == 0)
obj->logSetWindow = TRUE;
+ else if (strcasecmp(argn[i], "logSrc") == 0) {
+ for (int i = 0; i < argc; i++) {
+ if (strcasecmp(argn[i], "src") == 0) {
+ log(instance, "src: %s", argv[i]);
+ fflush(stdout);
+ }
+ }
+ }
}
instance->pdata = obj;
« no previous file with comments | « webkit/glue/webframeloaderclient_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698