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

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

Issue 192283002: Revert 255858 "Simplify the user agent code some more since afte..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 months 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 | Annotate | Revision Log
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>
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after
1080 switches::kSitePerProcess, 1080 switches::kSitePerProcess,
1081 switches::kStatsCollectionController, 1081 switches::kStatsCollectionController,
1082 switches::kTestSandbox, 1082 switches::kTestSandbox,
1083 switches::kTouchEvents, 1083 switches::kTouchEvents,
1084 switches::kTraceToConsole, 1084 switches::kTraceToConsole,
1085 switches::kUseDiscardableMemory, 1085 switches::kUseDiscardableMemory,
1086 // This flag needs to be propagated to the renderer process for 1086 // This flag needs to be propagated to the renderer process for
1087 // --in-process-webgl. 1087 // --in-process-webgl.
1088 switches::kUseGL, 1088 switches::kUseGL,
1089 switches::kUseMobileUserAgent, 1089 switches::kUseMobileUserAgent,
1090 switches::kUserAgent,
1090 switches::kV, 1091 switches::kV,
1091 switches::kVideoThreads, 1092 switches::kVideoThreads,
1092 switches::kVModule, 1093 switches::kVModule,
1093 switches::kWebGLCommandBufferSizeKb, 1094 switches::kWebGLCommandBufferSizeKb,
1094 // Please keep these in alphabetical order. Compositor switches here should 1095 // Please keep these in alphabetical order. Compositor switches here should
1095 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. 1096 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc.
1096 cc::switches::kCompositeToMailbox, 1097 cc::switches::kCompositeToMailbox,
1097 cc::switches::kDisableCompositedAntialiasing, 1098 cc::switches::kDisableCompositedAntialiasing,
1098 cc::switches::kDisableCompositorTouchHitTesting, 1099 cc::switches::kDisableCompositorTouchHitTesting,
1099 cc::switches::kDisableGPURasterization, 1100 cc::switches::kDisableGPURasterization,
(...skipping 990 matching lines...) Expand 10 before | Expand all | Expand 10 after
2090 2091
2091 void RenderProcessHostImpl::DecrementWorkerRefCount() { 2092 void RenderProcessHostImpl::DecrementWorkerRefCount() {
2092 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 2093 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
2093 DCHECK_GT(worker_ref_count_, 0); 2094 DCHECK_GT(worker_ref_count_, 0);
2094 --worker_ref_count_; 2095 --worker_ref_count_;
2095 if (worker_ref_count_ == 0) 2096 if (worker_ref_count_ == 0)
2096 Cleanup(); 2097 Cleanup();
2097 } 2098 }
2098 2099
2099 } // namespace content 2100 } // namespace content
OLDNEW
« no previous file with comments | « trunk/src/content/browser/plugin_process_host.cc ('k') | trunk/src/content/child/blink_platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698