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

Side by Side Diff: content/public/browser/browser_message_filter.cc

Issue 2771233002: Remove the wrapper functions content::RecordAction et al (Closed)
Patch Set: Rebased Created 3 years, 8 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
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/browser/user_metrics.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/public/browser/browser_message_filter.h" 5 #include "content/public/browser/browser_message_filter.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/dump_without_crashing.h" 10 #include "base/debug/dump_without_crashing.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/process/process_handle.h" 13 #include "base/process/process_handle.h"
14 #include "base/task_runner.h" 14 #include "base/task_runner.h"
15 #include "build/build_config.h" 15 #include "build/build_config.h"
16 #include "content/browser/browser_child_process_host_impl.h" 16 #include "content/browser/browser_child_process_host_impl.h"
17 #include "content/browser/child_process_launcher.h" 17 #include "content/browser/child_process_launcher.h"
18 #include "content/public/browser/user_metrics.h"
19 #include "content/public/common/content_switches.h" 18 #include "content/public/common/content_switches.h"
20 #include "content/public/common/result_codes.h" 19 #include "content/public/common/result_codes.h"
21 #include "ipc/ipc_sync_message.h" 20 #include "ipc/ipc_sync_message.h"
22 #include "ipc/message_filter.h" 21 #include "ipc/message_filter.h"
23 22
24 using content::BrowserMessageFilter; 23 using content::BrowserMessageFilter;
25 24
26 namespace content { 25 namespace content {
27 26
28 class BrowserMessageFilter::Internal : public IPC::MessageFilter { 27 class BrowserMessageFilter::Internal : public IPC::MessageFilter {
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 } 188 }
190 189
191 void BrowserMessageFilter::RegisterAssociatedInterfaces( 190 void BrowserMessageFilter::RegisterAssociatedInterfaces(
192 IPC::ChannelProxy* proxy) { 191 IPC::ChannelProxy* proxy) {
193 for (const auto& entry : associated_interfaces_) 192 for (const auto& entry : associated_interfaces_)
194 proxy->AddGenericAssociatedInterfaceForIOThread(entry.first, entry.second); 193 proxy->AddGenericAssociatedInterfaceForIOThread(entry.first, entry.second);
195 associated_interfaces_.clear(); 194 associated_interfaces_.clear();
196 } 195 }
197 196
198 } // namespace content 197 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/browser/user_metrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698