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

Unified Diff: components/subresource_filter/content/browser/content_subresource_filter_driver.cc

Issue 2699443006: Deprecate ContentSubresourceFilterDriver. (Closed)
Patch Set: Rebase. Created 3 years, 10 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: components/subresource_filter/content/browser/content_subresource_filter_driver.cc
diff --git a/components/subresource_filter/content/browser/content_subresource_filter_driver.cc b/components/subresource_filter/content/browser/content_subresource_filter_driver.cc
deleted file mode 100644
index 59714f1df4ea873ab26d5fb79625029c68e7a0d1..0000000000000000000000000000000000000000
--- a/components/subresource_filter/content/browser/content_subresource_filter_driver.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/subresource_filter/content/browser/content_subresource_filter_driver.h"
-
-#include "components/subresource_filter/content/common/subresource_filter_messages.h"
-#include "content/public/browser/render_frame_host.h"
-
-namespace subresource_filter {
-
-ContentSubresourceFilterDriver::ContentSubresourceFilterDriver(
- content::RenderFrameHost* render_frame_host)
- : render_frame_host_(render_frame_host) {}
-
-ContentSubresourceFilterDriver::~ContentSubresourceFilterDriver() {}
-
-void ContentSubresourceFilterDriver::ActivateForNextCommittedLoad(
- ActivationLevel activation_level,
- bool measure_performance) {
- // Must use legacy IPC to ensure the activation message arrives in-order, i.e.
- // before the load is committed on the renderer side.
- render_frame_host_->Send(
- new SubresourceFilterMsg_ActivateForNextCommittedLoad(
- render_frame_host_->GetRoutingID(), activation_level,
- measure_performance));
-}
-
-} // namespace subresource_filter

Powered by Google App Engine
This is Rietveld 408576698