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

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

Issue 695203002: Remove an unnecessary #include section from render_process_host_impl.cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | no next file » | 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 // 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 <vector> 12 #include <vector>
13 13
14 #if defined(OS_POSIX)
15 #include <utility> // for pair<>
16 #endif
17
18 #include "base/base_switches.h" 14 #include "base/base_switches.h"
19 #include "base/bind.h" 15 #include "base/bind.h"
20 #include "base/bind_helpers.h" 16 #include "base/bind_helpers.h"
21 #include "base/callback.h" 17 #include "base/callback.h"
22 #include "base/command_line.h" 18 #include "base/command_line.h"
23 #include "base/debug/trace_event.h" 19 #include "base/debug/trace_event.h"
24 #include "base/files/file.h" 20 #include "base/files/file.h"
25 #include "base/lazy_instance.h" 21 #include "base/lazy_instance.h"
26 #include "base/logging.h" 22 #include "base/logging.h"
27 #include "base/metrics/field_trial.h" 23 #include "base/metrics/field_trial.h"
(...skipping 2212 matching lines...) Expand 10 before | Expand all | Expand 10 after
2240 2236
2241 void RenderProcessHostImpl::DecrementWorkerRefCount() { 2237 void RenderProcessHostImpl::DecrementWorkerRefCount() {
2242 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2238 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2243 DCHECK_GT(worker_ref_count_, 0); 2239 DCHECK_GT(worker_ref_count_, 0);
2244 --worker_ref_count_; 2240 --worker_ref_count_;
2245 if (worker_ref_count_ == 0) 2241 if (worker_ref_count_ == 0)
2246 Cleanup(); 2242 Cleanup();
2247 } 2243 }
2248 2244
2249 } // namespace content 2245 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698