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

Side by Side Diff: components/subresource_filter/content/browser/content_ruleset_service.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/subresource_filter/content/browser/content_ruleset_service. h" 5 #include "components/subresource_filter/content/browser/content_ruleset_service. h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/sequenced_task_runner.h"
12 #include "components/subresource_filter/content/common/subresource_filter_messag es.h" 13 #include "components/subresource_filter/content/common/subresource_filter_messag es.h"
13 #include "components/subresource_filter/core/browser/ruleset_service.h" 14 #include "components/subresource_filter/core/browser/ruleset_service.h"
14 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
15 #include "content/public/browser/notification_service.h" 16 #include "content/public/browser/notification_service.h"
16 #include "content/public/browser/notification_source.h" 17 #include "content/public/browser/notification_source.h"
17 #include "content/public/browser/notification_types.h" 18 #include "content/public/browser/notification_types.h"
18 #include "content/public/browser/render_process_host.h" 19 #include "content/public/browser/render_process_host.h"
19 #include "ipc/ipc_platform_file.h" 20 #include "ipc/ipc_platform_file.h"
20 21
21 namespace subresource_filter { 22 namespace subresource_filter {
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 const content::NotificationDetails& details) { 110 const content::NotificationDetails& details) {
110 DCHECK_EQ(type, content::NOTIFICATION_RENDERER_PROCESS_CREATED); 111 DCHECK_EQ(type, content::NOTIFICATION_RENDERER_PROCESS_CREATED);
111 if (!ruleset_data_.IsValid()) 112 if (!ruleset_data_.IsValid())
112 return; 113 return;
113 SendRulesetToRenderProcess( 114 SendRulesetToRenderProcess(
114 &ruleset_data_, 115 &ruleset_data_,
115 content::Source<content::RenderProcessHost>(source).ptr()); 116 content::Source<content::RenderProcessHost>(source).ptr());
116 } 117 }
117 118
118 } // namespace subresource_filter 119 } // namespace subresource_filter
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698