| OLD | NEW |
| 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> |
| (...skipping 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1193 switches::kDisableHistogramCustomizer, | 1193 switches::kDisableHistogramCustomizer, |
| 1194 switches::kDisableLCDText, | 1194 switches::kDisableLCDText, |
| 1195 switches::kDisableLocalStorage, | 1195 switches::kDisableLocalStorage, |
| 1196 switches::kDisableLogging, | 1196 switches::kDisableLogging, |
| 1197 switches::kDisableMediaSource, | 1197 switches::kDisableMediaSource, |
| 1198 switches::kDisableOneCopy, | 1198 switches::kDisableOneCopy, |
| 1199 switches::kDisableOverlayScrollbar, | 1199 switches::kDisableOverlayScrollbar, |
| 1200 switches::kDisablePinch, | 1200 switches::kDisablePinch, |
| 1201 switches::kDisablePrefixedEncryptedMedia, | 1201 switches::kDisablePrefixedEncryptedMedia, |
| 1202 switches::kDisableSeccompFilterSandbox, | 1202 switches::kDisableSeccompFilterSandbox, |
| 1203 switches::kDisableSessionStorage, | |
| 1204 switches::kDisableSharedWorkers, | 1203 switches::kDisableSharedWorkers, |
| 1205 switches::kDisableSVG1DOM, | 1204 switches::kDisableSVG1DOM, |
| 1206 switches::kDisableThreadedCompositing, | 1205 switches::kDisableThreadedCompositing, |
| 1207 switches::kDisableThreadedScrolling, | 1206 switches::kDisableThreadedScrolling, |
| 1208 switches::kDisableTouchAdjustment, | 1207 switches::kDisableTouchAdjustment, |
| 1209 switches::kDisableTouchDragDrop, | 1208 switches::kDisableTouchDragDrop, |
| 1210 switches::kDisableTouchEditing, | 1209 switches::kDisableTouchEditing, |
| 1211 switches::kDisableV8IdleTasks, | 1210 switches::kDisableV8IdleTasks, |
| 1212 switches::kDomAutomationController, | 1211 switches::kDomAutomationController, |
| 1213 switches::kEnableBeginFrameScheduling, | 1212 switches::kEnableBeginFrameScheduling, |
| (...skipping 1143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2357 | 2356 |
| 2358 void RenderProcessHostImpl::DecrementWorkerRefCount() { | 2357 void RenderProcessHostImpl::DecrementWorkerRefCount() { |
| 2359 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2358 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 2360 DCHECK_GT(worker_ref_count_, 0); | 2359 DCHECK_GT(worker_ref_count_, 0); |
| 2361 --worker_ref_count_; | 2360 --worker_ref_count_; |
| 2362 if (worker_ref_count_ == 0) | 2361 if (worker_ref_count_ == 0) |
| 2363 Cleanup(); | 2362 Cleanup(); |
| 2364 } | 2363 } |
| 2365 | 2364 |
| 2366 } // namespace content | 2365 } // namespace content |
| OLD | NEW |