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

Unified Diff: content/public/test/test_utils.cc

Issue 2987563004: Revert of Use FrameIsAd to decide whether to isolate a frame in TopDocumentIsolation mode. (Closed)
Patch Set: Created 3 years, 5 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 | « content/public/test/test_utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_utils.cc
diff --git a/content/public/test/test_utils.cc b/content/public/test/test_utils.cc
index 6e8493254b14efcd18733ac62b86b12e2c1373b5..cb8a3b0d80ee8d2b2aff43566326a845411789f5 100644
--- a/content/public/test/test_utils.cc
+++ b/content/public/test/test_utils.cc
@@ -4,9 +4,6 @@
#include "content/public/test/test_utils.h"
-#include <map>
-#include <set>
-#include <string>
#include <utility>
#include "base/bind.h"
@@ -30,7 +27,6 @@
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/web_contents.h"
-#include "content/public/common/content_features.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/process_type.h"
#include "content/public/test/test_launcher.h"
@@ -234,14 +230,6 @@
kFakeTrialName, kFakeTrialGroupName, param_values, command_line);
}
-void EnableTopDocumentIsolationForTesting(base::CommandLine* command_line) {
- EnableFeatureWithParam(
- features::kTopDocumentIsolation, features::kTopDocumentIsolationModeParam,
- std::to_string(
- static_cast<int>(features::TopDocumentIsolationMode::CrossSite)),
- command_line);
-}
-
#if defined(OS_ANDROID)
// Registers content/browser and mojo JNI bindings necessary for some types of
// tests.
« no previous file with comments | « content/public/test/test_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698