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

Unified Diff: webkit/tools/test_shell/test_shell.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/test_shell.h
===================================================================
--- webkit/tools/test_shell/test_shell.h (revision 58881)
+++ webkit/tools/test_shell/test_shell.h (working copy)
@@ -92,7 +92,7 @@
static void CleanupLogging();
// Initialization and clean up of a static member variable.
- static void InitializeTestShell(bool layout_test_mode,
+ static void InitializeTestShell(bool layout_test_mode,
bool allow_external_pages);
static void ShutdownTestShell();
@@ -187,6 +187,10 @@
return layout_test_mode_ && (test_is_preparing_ || test_is_pending_) &&
layout_test_controller_->ShouldDumpResourceLoadCallbacks();
}
+ bool ShouldDumpResourceResponseMIMETypes() {
+ return layout_test_mode_ && (test_is_preparing_ || test_is_pending_) &&
+ layout_test_controller_->ShouldDumpResourceResponseMIMETypes();
+ }
bool ShouldDumpTitleChanges() {
return layout_test_mode_ &&
layout_test_controller_->ShouldDumpTitleChanges();
@@ -380,9 +384,9 @@
// True when the app is being run using the --layout-tests switch.
static bool layout_test_mode_;
-
+
// True when we wish to allow test shell to load external pages like
- // www.google.com even when in --layout-test mode (used for QA to
+ // www.google.com even when in --layout-test mode (used for QA to
// produce images of the rendered page)
static bool allow_external_pages_;

Powered by Google App Engine
This is Rietveld 408576698