| 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 1160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1171 switches::kAudioBufferSize, | 1171 switches::kAudioBufferSize, |
| 1172 switches::kAuditAllHandles, | 1172 switches::kAuditAllHandles, |
| 1173 switches::kAuditHandles, | 1173 switches::kAuditHandles, |
| 1174 switches::kBlinkPlatformLogChannels, | 1174 switches::kBlinkPlatformLogChannels, |
| 1175 switches::kBlockCrossSiteDocuments, | 1175 switches::kBlockCrossSiteDocuments, |
| 1176 switches::kDefaultTileWidth, | 1176 switches::kDefaultTileWidth, |
| 1177 switches::kDefaultTileHeight, | 1177 switches::kDefaultTileHeight, |
| 1178 switches::kDisable3DAPIs, | 1178 switches::kDisable3DAPIs, |
| 1179 switches::kDisableAcceleratedJpegDecoding, | 1179 switches::kDisableAcceleratedJpegDecoding, |
| 1180 switches::kDisableAcceleratedVideoDecode, | 1180 switches::kDisableAcceleratedVideoDecode, |
| 1181 switches::kDisableApplicationCache, | |
| 1182 switches::kDisableBlinkScheduler, | 1181 switches::kDisableBlinkScheduler, |
| 1183 switches::kDisableBreakpad, | 1182 switches::kDisableBreakpad, |
| 1184 switches::kDisablePreferCompositingToLCDText, | 1183 switches::kDisablePreferCompositingToLCDText, |
| 1185 switches::kDisableDatabases, | 1184 switches::kDisableDatabases, |
| 1186 switches::kDisableDirectNPAPIRequests, | 1185 switches::kDisableDirectNPAPIRequests, |
| 1187 switches::kDisableDisplayList2dCanvas, | 1186 switches::kDisableDisplayList2dCanvas, |
| 1188 switches::kDisableDistanceFieldText, | 1187 switches::kDisableDistanceFieldText, |
| 1189 switches::kDisableFileSystem, | 1188 switches::kDisableFileSystem, |
| 1190 switches::kDisableGpuCompositing, | 1189 switches::kDisableGpuCompositing, |
| 1191 switches::kDisableGpuVsync, | 1190 switches::kDisableGpuVsync, |
| (...skipping 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2358 | 2357 |
| 2359 void RenderProcessHostImpl::DecrementWorkerRefCount() { | 2358 void RenderProcessHostImpl::DecrementWorkerRefCount() { |
| 2360 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2359 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 2361 DCHECK_GT(worker_ref_count_, 0); | 2360 DCHECK_GT(worker_ref_count_, 0); |
| 2362 --worker_ref_count_; | 2361 --worker_ref_count_; |
| 2363 if (worker_ref_count_ == 0) | 2362 if (worker_ref_count_ == 0) |
| 2364 Cleanup(); | 2363 Cleanup(); |
| 2365 } | 2364 } |
| 2366 | 2365 |
| 2367 } // namespace content | 2366 } // namespace content |
| OLD | NEW |