Index: content/public/test/test_utils.h |
diff --git a/content/public/test/test_utils.h b/content/public/test/test_utils.h |
index 7ca3cf7b47f6eccaf8da51ffb4fb4daea86ddcd3..330210f929b218833e688f1f30e1fac6e5d33a7b 100644 |
--- a/content/public/test/test_utils.h |
+++ b/content/public/test/test_utils.h |
@@ -6,7 +6,6 @@ |
#define CONTENT_PUBLIC_TEST_TEST_UTILS_H_ |
#include <memory> |
-#include <string> |
#include "base/callback.h" |
#include "base/macros.h" |
@@ -100,11 +99,6 @@ |
const std::string& param_value, |
base::CommandLine* command_line); |
-// Mutates |command_line| to enable a testing mode for TopDocumentIsolation by |
-// 1) enabling the features::kTopDocumentIsolation feature and 2) forcing a mode |
-// that isolates all cross-site frames. |
-void EnableTopDocumentIsolationForTesting(base::CommandLine* command_line); |
- |
#if defined(OS_ANDROID) |
// Registers content/browser JNI bindings necessary for some types of tests. |
bool RegisterJniForTesting(JNIEnv* env); |
@@ -131,7 +125,7 @@ |
DEFERRED, |
}; |
- explicit MessageLoopRunner(QuitMode mode = QuitMode::DEFERRED); |
+ MessageLoopRunner(QuitMode mode = QuitMode::DEFERRED); |
// Run the current MessageLoop unless the quit closure |
// has already been called. |
@@ -293,7 +287,7 @@ |
// accessing it and causing use-after-free condition. |
class RenderFrameDeletedObserver : public WebContentsObserver { |
public: |
- explicit RenderFrameDeletedObserver(RenderFrameHost* rfh); |
+ RenderFrameDeletedObserver(RenderFrameHost* rfh); |
~RenderFrameDeletedObserver() override; |
// Overridden WebContentsObserver methods. |