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

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

Issue 588543003: Let --js-flags work when Harmony is enabled in about:flags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
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 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after
1133 switches::kEnableVtune, 1133 switches::kEnableVtune,
1134 switches::kEnableWebGLDraftExtensions, 1134 switches::kEnableWebGLDraftExtensions,
1135 switches::kEnableWebGLImageChromium, 1135 switches::kEnableWebGLImageChromium,
1136 switches::kEnableWebMIDI, 1136 switches::kEnableWebMIDI,
1137 switches::kEnableZeroCopy, 1137 switches::kEnableZeroCopy,
1138 switches::kForceDeviceScaleFactor, 1138 switches::kForceDeviceScaleFactor,
1139 switches::kFullMemoryCrashReport, 1139 switches::kFullMemoryCrashReport,
1140 switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode, 1140 switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode,
1141 switches::kIPCConnectionTimeout, 1141 switches::kIPCConnectionTimeout,
1142 switches::kJavaScriptFlags, 1142 switches::kJavaScriptFlags,
1143 switches::kJavaScriptHarmony,
1143 switches::kLoggingLevel, 1144 switches::kLoggingLevel,
1144 switches::kMainFrameResizesAreOrientationChanges, 1145 switches::kMainFrameResizesAreOrientationChanges,
1145 switches::kMaxUntiledLayerWidth, 1146 switches::kMaxUntiledLayerWidth,
1146 switches::kMaxUntiledLayerHeight, 1147 switches::kMaxUntiledLayerHeight,
1147 switches::kMemoryMetrics, 1148 switches::kMemoryMetrics,
1148 switches::kNoReferrers, 1149 switches::kNoReferrers,
1149 switches::kNoSandbox, 1150 switches::kNoSandbox,
1150 switches::kPpapiInProcess, 1151 switches::kPpapiInProcess,
1151 switches::kProfilerTiming, 1152 switches::kProfilerTiming,
1152 switches::kReduceSecurityForTesting, 1153 switches::kReduceSecurityForTesting,
(...skipping 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after
2211 2212
2212 void RenderProcessHostImpl::DecrementWorkerRefCount() { 2213 void RenderProcessHostImpl::DecrementWorkerRefCount() {
2213 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2214 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2214 DCHECK_GT(worker_ref_count_, 0); 2215 DCHECK_GT(worker_ref_count_, 0);
2215 --worker_ref_count_; 2216 --worker_ref_count_;
2216 if (worker_ref_count_ == 0) 2217 if (worker_ref_count_ == 0)
2217 Cleanup(); 2218 Cleanup();
2218 } 2219 }
2219 2220
2220 } // namespace content 2221 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698