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

Unified Diff: webkit/tools/test_shell/layout_test_controller.h

Issue 3317016: Implement layoutTestController.dumpResourceResponseMIMETypes in test_shell... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 3 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: webkit/tools/test_shell/layout_test_controller.h
===================================================================
--- webkit/tools/test_shell/layout_test_controller.h (revision 58881)
+++ webkit/tools/test_shell/layout_test_controller.h (working copy)
@@ -207,6 +207,7 @@
void dumpAsWebArchive(const CppArgumentList& args, CppVariant* result);
void dumpTitleChanges(const CppArgumentList& args, CppVariant* result);
void dumpResourceLoadCallbacks(const CppArgumentList& args, CppVariant* result);
+ void dumpResourceResponseMIMETypes(const CppArgumentList& args, CppVariant* result);
void setMainFrameIsFirstResponder(const CppArgumentList& args, CppVariant* result);
void display(const CppArgumentList& args, CppVariant* result);
void testRepaint(const CppArgumentList& args, CppVariant* result);
@@ -305,6 +306,9 @@
bool ShouldDumpResourceLoadCallbacks() {
return dump_resource_load_callbacks_;
}
+ bool ShouldDumpResourceResponseMIMETypes() {
+ return dump_resource_response_mime_types_;
+ }
bool ShouldDumpStatusCallbacks() {
return dump_window_status_changes_;
}
@@ -418,6 +422,10 @@
// load callback.
static bool dump_resource_load_callbacks_;
+ // If true, the test_shell will output a line with the MIME type for each
+ // resource that is loaded.
+ static bool dump_resource_response_mime_types_;
+
// If true, the test_shell will produce a dump of the back forward list as
// well.
static bool dump_back_forward_list_;
« no previous file with comments | « no previous file | webkit/tools/test_shell/layout_test_controller.cc » ('j') | webkit/tools/test_shell/test_webview_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698