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_; |