| 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 1198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1209 switches::kDisableTouchDragDrop, | 1209 switches::kDisableTouchDragDrop, |
| 1210 switches::kDisableTouchEditing, | 1210 switches::kDisableTouchEditing, |
| 1211 switches::kDisableV8IdleNotificationAfterCommit, | 1211 switches::kDisableV8IdleNotificationAfterCommit, |
| 1212 switches::kDomAutomationController, | 1212 switches::kDomAutomationController, |
| 1213 switches::kEnableBeginFrameScheduling, | 1213 switches::kEnableBeginFrameScheduling, |
| 1214 switches::kEnableBleedingEdgeRenderingFastPaths, | 1214 switches::kEnableBleedingEdgeRenderingFastPaths, |
| 1215 switches::kEnableBrowserSideNavigation, | 1215 switches::kEnableBrowserSideNavigation, |
| 1216 switches::kEnablePreferCompositingToLCDText, | 1216 switches::kEnablePreferCompositingToLCDText, |
| 1217 switches::kEnableCredentialManagerAPI, | 1217 switches::kEnableCredentialManagerAPI, |
| 1218 switches::kEnableDeferredImageDecoding, | 1218 switches::kEnableDeferredImageDecoding, |
| 1219 switches::kEnableDelayAgnosticAec, |
| 1219 switches::kEnableDisplayList2dCanvas, | 1220 switches::kEnableDisplayList2dCanvas, |
| 1220 switches::kEnableDistanceFieldText, | 1221 switches::kEnableDistanceFieldText, |
| 1221 switches::kEnableEncryptedMedia, | 1222 switches::kEnableEncryptedMedia, |
| 1222 switches::kEnableExperimentalCanvasFeatures, | 1223 switches::kEnableExperimentalCanvasFeatures, |
| 1223 switches::kEnableExperimentalWebPlatformFeatures, | 1224 switches::kEnableExperimentalWebPlatformFeatures, |
| 1224 switches::kEnableGPUClientLogging, | 1225 switches::kEnableGPUClientLogging, |
| 1225 switches::kEnableGpuClientTracing, | 1226 switches::kEnableGpuClientTracing, |
| 1226 switches::kEnableGPUServiceLogging, | 1227 switches::kEnableGPUServiceLogging, |
| 1227 switches::kEnableLinkDisambiguationPopup, | 1228 switches::kEnableLinkDisambiguationPopup, |
| 1228 switches::kEnableLowResTiling, | 1229 switches::kEnableLowResTiling, |
| (...skipping 1130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2359 | 2360 |
| 2360 void RenderProcessHostImpl::DecrementWorkerRefCount() { | 2361 void RenderProcessHostImpl::DecrementWorkerRefCount() { |
| 2361 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2362 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 2362 DCHECK_GT(worker_ref_count_, 0); | 2363 DCHECK_GT(worker_ref_count_, 0); |
| 2363 --worker_ref_count_; | 2364 --worker_ref_count_; |
| 2364 if (worker_ref_count_ == 0) | 2365 if (worker_ref_count_ == 0) |
| 2365 Cleanup(); | 2366 Cleanup(); |
| 2366 } | 2367 } |
| 2367 | 2368 |
| 2368 } // namespace content | 2369 } // namespace content |
| OLD | NEW |