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

Unified Diff: webkit/glue/plugins/test/plugin_test.h

Issue 174383: Fixes a crash caused due to a call to NPP_DestroyStream occuring in the conte... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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/plugins/test/plugin_geturl_test.cc ('k') | webkit/glue/plugins/test/plugin_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/test/plugin_test.h
===================================================================
--- webkit/glue/plugins/test/plugin_test.h (revision 24564)
+++ webkit/glue/plugins/test/plugin_test.h (working copy)
@@ -110,15 +110,16 @@
// The NPP Identifier for this plugin instance.
NPP id() { return id_; }
- std::string test_id() { return test_id_; }
- std::string test_name() { return test_name_; }
-
+ std::string test_id() const { return test_id_; }
+ std::string test_name() const { return test_name_; }
+ bool test_completed() const { return test_completed_; }
private:
NPP id_;
NPNetscapeFuncs * host_functions_;
std::string test_name_;
std::string test_id_;
std::string test_status_;
+ bool test_completed_;
};
} // namespace NPAPIClient
« no previous file with comments | « webkit/glue/plugins/test/plugin_geturl_test.cc ('k') | webkit/glue/plugins/test/plugin_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698