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

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

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.h
diff --git a/components/subresource_filter/content/browser/content_subresource_filter_driver.h b/components/subresource_filter/content/browser/content_subresource_filter_driver.h
deleted file mode 100644
index f194dc79d44100ba9c905b2b680513c2a379296e..0000000000000000000000000000000000000000
--- a/components/subresource_filter/content/browser/content_subresource_filter_driver.h
+++ /dev/null
@@ -1,39 +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.
-
-#ifndef COMPONENTS_SUBRESOURCE_FILTER_CONTENT_BROWSER_CONTENT_SUBRESOURCE_FILTER_DRIVER_H_
-#define COMPONENTS_SUBRESOURCE_FILTER_CONTENT_BROWSER_CONTENT_SUBRESOURCE_FILTER_DRIVER_H_
-
-#include "base/macros.h"
-#include "components/subresource_filter/core/common/activation_level.h"
-
-namespace content {
-class RenderFrameHost;
-} // namespace content
-
-namespace subresource_filter {
-
-// The content-layer-specific driver for the subresource filter component. There
-// is one instance per RenderFrameHost.
-class ContentSubresourceFilterDriver {
- public:
- explicit ContentSubresourceFilterDriver(
- content::RenderFrameHost* render_frame_host);
- virtual ~ContentSubresourceFilterDriver();
-
- // Instructs the agent on the renderer side to set up subresource filtering at
- // the specified |activation_level| for the next load committed in this frame.
- virtual void ActivateForNextCommittedLoad(ActivationLevel activation_level,
- bool measure_performance);
-
- private:
- // The RenderFrameHost that this driver belongs to.
- content::RenderFrameHost* render_frame_host_;
-
- DISALLOW_COPY_AND_ASSIGN(ContentSubresourceFilterDriver);
-};
-
-} // namespace subresource_filter
-
-#endif // COMPONENTS_SUBRESOURCE_FILTER_CONTENT_BROWSER_CONTENT_SUBRESOURCE_FILTER_DRIVER_H_

Powered by Google App Engine
This is Rietveld 408576698