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

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

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream 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 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>
(...skipping 13 matching lines...) Expand all
24 #include "base/feature_list.h" 24 #include "base/feature_list.h"
25 #include "base/files/file.h" 25 #include "base/files/file.h"
26 #include "base/lazy_instance.h" 26 #include "base/lazy_instance.h"
27 #include "base/location.h" 27 #include "base/location.h"
28 #include "base/logging.h" 28 #include "base/logging.h"
29 #include "base/macros.h" 29 #include "base/macros.h"
30 #include "base/memory/ptr_util.h" 30 #include "base/memory/ptr_util.h"
31 #include "base/memory/ref_counted.h" 31 #include "base/memory/ref_counted.h"
32 #include "base/memory/shared_memory.h" 32 #include "base/memory/shared_memory.h"
33 #include "base/memory/shared_memory_handle.h" 33 #include "base/memory/shared_memory_handle.h"
34 #include "base/message_loop/message_loop.h"
34 #include "base/metrics/histogram_macros.h" 35 #include "base/metrics/histogram_macros.h"
35 #include "base/metrics/persistent_histogram_allocator.h" 36 #include "base/metrics/persistent_histogram_allocator.h"
36 #include "base/metrics/persistent_memory_allocator.h" 37 #include "base/metrics/persistent_memory_allocator.h"
37 #include "base/metrics/user_metrics.h" 38 #include "base/metrics/user_metrics.h"
38 #include "base/process/process_handle.h" 39 #include "base/process/process_handle.h"
39 #include "base/rand_util.h" 40 #include "base/rand_util.h"
40 #include "base/single_thread_task_runner.h" 41 #include "base/single_thread_task_runner.h"
41 #include "base/stl_util.h" 42 #include "base/stl_util.h"
42 #include "base/strings/string_number_conversions.h" 43 #include "base/strings/string_number_conversions.h"
43 #include "base/strings/stringprintf.h" 44 #include "base/strings/stringprintf.h"
(...skipping 3226 matching lines...) Expand 10 before | Expand all | Expand 10 after
3270 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3271 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3271 3272
3272 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3273 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3273 // Capture the error message in a crash key value. 3274 // Capture the error message in a crash key value.
3274 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3275 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3275 bad_message::ReceivedBadMessage(render_process_id, 3276 bad_message::ReceivedBadMessage(render_process_id,
3276 bad_message::RPH_MOJO_PROCESS_ERROR); 3277 bad_message::RPH_MOJO_PROCESS_ERROR);
3277 } 3278 }
3278 3279
3279 } // namespace content 3280 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698