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

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

Issue 2686033002: Simplify SequencedTaskRunner::{Delete,Releaose}Soon impl (Closed)
Patch Set: public -> private 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 unified diff | Download patch
« no previous file with comments | « content/browser/frame_host/render_frame_message_filter.cc ('k') | sql/connection.cc » ('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 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/alias.h"
20 #include "base/debug/crash_logging.h" 21 #include "base/debug/crash_logging.h"
21 #include "base/debug/dump_without_crashing.h" 22 #include "base/debug/dump_without_crashing.h"
22 #include "base/feature_list.h" 23 #include "base/feature_list.h"
23 #include "base/files/file.h" 24 #include "base/files/file.h"
24 #include "base/lazy_instance.h" 25 #include "base/lazy_instance.h"
25 #include "base/location.h" 26 #include "base/location.h"
26 #include "base/logging.h" 27 #include "base/logging.h"
27 #include "base/macros.h" 28 #include "base/macros.h"
28 #include "base/memory/ptr_util.h" 29 #include "base/memory/ptr_util.h"
29 #include "base/memory/ref_counted.h" 30 #include "base/memory/ref_counted.h"
(...skipping 3040 matching lines...) Expand 10 before | Expand all | Expand 10 after
3070 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3071 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3071 3072
3072 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3073 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3073 // Capture the error message in a crash key value. 3074 // Capture the error message in a crash key value.
3074 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3075 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3075 bad_message::ReceivedBadMessage(render_process_id, 3076 bad_message::ReceivedBadMessage(render_process_id,
3076 bad_message::RPH_MOJO_PROCESS_ERROR); 3077 bad_message::RPH_MOJO_PROCESS_ERROR);
3077 } 3078 }
3078 3079
3079 } // namespace content 3080 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_message_filter.cc ('k') | sql/connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698