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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2303653005: Migrate content/ files to histogram_macros.h includes. (Closed)
Patch Set: Created 4 years, 3 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
11 #include <limits> 11 #include <limits>
12 #include <utility> 12 #include <utility>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/base_switches.h" 15 #include "base/base_switches.h"
16 #include "base/bind.h" 16 #include "base/bind.h"
17 #include "base/bind_helpers.h" 17 #include "base/bind_helpers.h"
18 #include "base/callback.h" 18 #include "base/callback.h"
19 #include "base/command_line.h" 19 #include "base/command_line.h"
20 #include "base/debug/dump_without_crashing.h" 20 #include "base/debug/dump_without_crashing.h"
21 #include "base/feature_list.h" 21 #include "base/feature_list.h"
22 #include "base/files/file.h" 22 #include "base/files/file.h"
23 #include "base/lazy_instance.h" 23 #include "base/lazy_instance.h"
24 #include "base/location.h" 24 #include "base/location.h"
25 #include "base/logging.h" 25 #include "base/logging.h"
26 #include "base/macros.h" 26 #include "base/macros.h"
27 #include "base/memory/ref_counted.h" 27 #include "base/memory/ref_counted.h"
28 #include "base/memory/shared_memory.h" 28 #include "base/memory/shared_memory.h"
29 #include "base/memory/shared_memory_handle.h" 29 #include "base/memory/shared_memory_handle.h"
30 #include "base/metrics/histogram.h" 30 #include "base/metrics/histogram_macros.h"
31 #include "base/metrics/persistent_histogram_allocator.h" 31 #include "base/metrics/persistent_histogram_allocator.h"
32 #include "base/metrics/persistent_memory_allocator.h" 32 #include "base/metrics/persistent_memory_allocator.h"
33 #include "base/process/process_handle.h" 33 #include "base/process/process_handle.h"
34 #include "base/rand_util.h" 34 #include "base/rand_util.h"
35 #include "base/single_thread_task_runner.h" 35 #include "base/single_thread_task_runner.h"
36 #include "base/stl_util.h" 36 #include "base/stl_util.h"
37 #include "base/strings/string_number_conversions.h" 37 #include "base/strings/string_number_conversions.h"
38 #include "base/strings/stringprintf.h" 38 #include "base/strings/stringprintf.h"
39 #include "base/supports_user_data.h" 39 #include "base/supports_user_data.h"
40 #include "base/synchronization/lock.h" 40 #include "base/synchronization/lock.h"
(...skipping 2893 matching lines...) Expand 10 before | Expand all | Expand 10 after
2934 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 2934 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
2935 2935
2936 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias 2936 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias
2937 // enough information here so that we can determine what the bad message was. 2937 // enough information here so that we can determine what the bad message was.
2938 base::debug::Alias(&error); 2938 base::debug::Alias(&error);
2939 bad_message::ReceivedBadMessage(process.get(), 2939 bad_message::ReceivedBadMessage(process.get(),
2940 bad_message::RPH_MOJO_PROCESS_ERROR); 2940 bad_message::RPH_MOJO_PROCESS_ERROR);
2941 } 2941 }
2942 2942
2943 } // namespace content 2943 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host_udp.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698