| 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 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1010 switches::kEnableAcceleratedOverflowScroll, | 1010 switches::kEnableAcceleratedOverflowScroll, |
| 1011 switches::kEnableAcceleratedScrollableFrames, | 1011 switches::kEnableAcceleratedScrollableFrames, |
| 1012 switches::kEnableAccessibilityLogging, | 1012 switches::kEnableAccessibilityLogging, |
| 1013 switches::kEnableADTSStreamParser, | 1013 switches::kEnableADTSStreamParser, |
| 1014 switches::kEnableBeginFrameScheduling, | 1014 switches::kEnableBeginFrameScheduling, |
| 1015 switches::kEnableBleedingEdgeRenderingFastPaths, | 1015 switches::kEnableBleedingEdgeRenderingFastPaths, |
| 1016 switches::kEnableBrowserPluginForAllViewTypes, | 1016 switches::kEnableBrowserPluginForAllViewTypes, |
| 1017 switches::kEnableCompositedScrollingForFrames, | 1017 switches::kEnableCompositedScrollingForFrames, |
| 1018 switches::kEnableCompositingForFixedPosition, | 1018 switches::kEnableCompositingForFixedPosition, |
| 1019 switches::kEnableCompositingForTransition, | 1019 switches::kEnableCompositingForTransition, |
| 1020 switches::kEnableDCHECK, | |
| 1021 switches::kEnableDeferredImageDecoding, | 1020 switches::kEnableDeferredImageDecoding, |
| 1022 switches::kEnableDelegatedRenderer, | 1021 switches::kEnableDelegatedRenderer, |
| 1023 switches::kEnableEncryptedMedia, | 1022 switches::kEnableEncryptedMedia, |
| 1024 switches::kEnableExperimentalCanvasFeatures, | 1023 switches::kEnableExperimentalCanvasFeatures, |
| 1025 switches::kEnableExperimentalWebPlatformFeatures, | 1024 switches::kEnableExperimentalWebPlatformFeatures, |
| 1026 switches::kEnableExperimentalWebSocket, | 1025 switches::kEnableExperimentalWebSocket, |
| 1027 switches::kEnableFastTextAutosizing, | 1026 switches::kEnableFastTextAutosizing, |
| 1028 switches::kEnableGPUClientLogging, | 1027 switches::kEnableGPUClientLogging, |
| 1029 switches::kEnableGpuClientTracing, | 1028 switches::kEnableGpuClientTracing, |
| 1030 switches::kEnableGPUServiceLogging, | 1029 switches::kEnableGPUServiceLogging, |
| (...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2092 | 2091 |
| 2093 void RenderProcessHostImpl::DecrementWorkerRefCount() { | 2092 void RenderProcessHostImpl::DecrementWorkerRefCount() { |
| 2094 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 2093 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
| 2095 DCHECK_GT(worker_ref_count_, 0); | 2094 DCHECK_GT(worker_ref_count_, 0); |
| 2096 --worker_ref_count_; | 2095 --worker_ref_count_; |
| 2097 if (worker_ref_count_ == 0) | 2096 if (worker_ref_count_ == 0) |
| 2098 Cleanup(); | 2097 Cleanup(); |
| 2099 } | 2098 } |
| 2100 | 2099 |
| 2101 } // namespace content | 2100 } // namespace content |
| OLD | NEW |