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

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

Issue 711033002: Referrer Policy: Add a flag to reduce `referer` granularity by default [2/2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@default
Patch Set: histograms Created 6 years, 1 month 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after
1163 switches::kJavaScriptFlags, 1163 switches::kJavaScriptFlags,
1164 switches::kLoggingLevel, 1164 switches::kLoggingLevel,
1165 switches::kMainFrameResizesAreOrientationChanges, 1165 switches::kMainFrameResizesAreOrientationChanges,
1166 switches::kMaxUntiledLayerWidth, 1166 switches::kMaxUntiledLayerWidth,
1167 switches::kMaxUntiledLayerHeight, 1167 switches::kMaxUntiledLayerHeight,
1168 switches::kMemoryMetrics, 1168 switches::kMemoryMetrics,
1169 switches::kNoReferrers, 1169 switches::kNoReferrers,
1170 switches::kNoSandbox, 1170 switches::kNoSandbox,
1171 switches::kPpapiInProcess, 1171 switches::kPpapiInProcess,
1172 switches::kProfilerTiming, 1172 switches::kProfilerTiming,
1173 switches::kReducedReferrerGranularity,
1173 switches::kReduceSecurityForTesting, 1174 switches::kReduceSecurityForTesting,
1174 switches::kRegisterPepperPlugins, 1175 switches::kRegisterPepperPlugins,
1175 switches::kRendererAssertTest, 1176 switches::kRendererAssertTest,
1176 switches::kRendererStartupDialog, 1177 switches::kRendererStartupDialog,
1177 switches::kRootLayerScrolls, 1178 switches::kRootLayerScrolls,
1178 switches::kShowPaintRects, 1179 switches::kShowPaintRects,
1179 switches::kSitePerProcess, 1180 switches::kSitePerProcess,
1180 switches::kStatsCollectionController, 1181 switches::kStatsCollectionController,
1181 switches::kTestType, 1182 switches::kTestType,
1182 switches::kTouchEvents, 1183 switches::kTouchEvents,
(...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after
2236 2237
2237 void RenderProcessHostImpl::DecrementWorkerRefCount() { 2238 void RenderProcessHostImpl::DecrementWorkerRefCount() {
2238 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2239 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2239 DCHECK_GT(worker_ref_count_, 0); 2240 DCHECK_GT(worker_ref_count_, 0);
2240 --worker_ref_count_; 2241 --worker_ref_count_;
2241 if (worker_ref_count_ == 0) 2242 if (worker_ref_count_ == 0)
2242 Cleanup(); 2243 Cleanup();
2243 } 2244 }
2244 2245
2245 } // namespace content 2246 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698