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

Unified Diff: content/browser/frame_host/navigation_handle_impl.cc

Issue 2368923003: Support the Clear-Site-Data header on resource requests (Closed)
Patch Set: Some improvements. Created 4 years, 2 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: content/browser/frame_host/navigation_handle_impl.cc
diff --git a/content/browser/frame_host/navigation_handle_impl.cc b/content/browser/frame_host/navigation_handle_impl.cc
index b0f6efe4efab876abe3faade52850886b9d2f0b9..ac92fbe6c4666dd72bdbeb88cda6ef9f6e7df2dd 100644
--- a/content/browser/frame_host/navigation_handle_impl.cc
+++ b/content/browser/frame_host/navigation_handle_impl.cc
@@ -8,7 +8,6 @@
#include "base/debug/dump_without_crashing.h"
#include "base/logging.h"
-#include "content/browser/browsing_data/clear_site_data_throttle.h"
#include "content/browser/child_process_security_policy_impl.h"
#include "content/browser/devtools/render_frame_devtools_agent_host.h"
#include "content/browser/frame_host/frame_tree_node.h"
@@ -735,11 +734,6 @@ void NavigationHandleImpl::RegisterNavigationThrottles() {
if (devtools_throttle)
throttles_to_register.push_back(std::move(devtools_throttle));
- std::unique_ptr<NavigationThrottle> clear_site_data_throttle =
- ClearSiteDataThrottle::CreateThrottleForNavigation(this);
- if (clear_site_data_throttle)
- throttles_to_register.push_back(std::move(clear_site_data_throttle));
-
if (throttles_to_register.size() > 0) {
throttles_.insert(throttles_.begin(), throttles_to_register.begin(),
throttles_to_register.end());

Powered by Google App Engine
This is Rietveld 408576698