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

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

Issue 22254005: UMA data collector for cross-site documents(XSD) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: fix compile error Created 7 years, 4 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 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( 833 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
834 const CommandLine& browser_cmd, 834 const CommandLine& browser_cmd,
835 CommandLine* renderer_cmd) const { 835 CommandLine* renderer_cmd) const {
836 // Propagate the following switches to the renderer command line (along 836 // Propagate the following switches to the renderer command line (along
837 // with any associated values) if present in the browser command line. 837 // with any associated values) if present in the browser command line.
838 static const char* const kSwitchNames[] = { 838 static const char* const kSwitchNames[] = {
839 switches::kAllowFiltersOverIPC, 839 switches::kAllowFiltersOverIPC,
840 switches::kAudioBufferSize, 840 switches::kAudioBufferSize,
841 switches::kAuditAllHandles, 841 switches::kAuditAllHandles,
842 switches::kAuditHandles, 842 switches::kAuditHandles,
843 switches::kBlockCrossSiteDocuments,
843 switches::kDisable3DAPIs, 844 switches::kDisable3DAPIs,
844 switches::kDisableAcceleratedCompositing, 845 switches::kDisableAcceleratedCompositing,
845 switches::kDisableAcceleratedVideoDecode, 846 switches::kDisableAcceleratedVideoDecode,
846 switches::kDisableApplicationCache, 847 switches::kDisableApplicationCache,
847 switches::kDisableAudio, 848 switches::kDisableAudio,
848 switches::kDisableBreakpad, 849 switches::kDisableBreakpad,
849 switches::kDisableDatabases, 850 switches::kDisableDatabases,
850 switches::kDisableDelegatedRenderer, 851 switches::kDisableDelegatedRenderer,
851 switches::kDisableDesktopNotifications, 852 switches::kDisableDesktopNotifications,
852 switches::kDisableDeviceOrientation, 853 switches::kDisableDeviceOrientation,
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after
1767 // Skip widgets in other processes. 1768 // Skip widgets in other processes.
1768 if (widgets[i]->GetProcess()->GetID() != GetID()) 1769 if (widgets[i]->GetProcess()->GetID() != GetID())
1769 continue; 1770 continue;
1770 1771
1771 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); 1772 RenderViewHost* rvh = RenderViewHost::From(widgets[i]);
1772 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1773 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1773 } 1774 }
1774 } 1775 }
1775 1776
1776 } // namespace content 1777 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/child/request_extra_data.h » ('j') | content/child/site_isolation_policy.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698