| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index bc4737e49000f89e0d44dc372d1e7837eab185f0..d987e3c5eb57d6e74194bb0550d78fbe162b8c1d 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -1652,6 +1652,8 @@ bool RenderProcessHostImpl::OnMessageReceived(const IPC::Message& msg) {
|
| OnShutdownRequest)
|
| IPC_MESSAGE_HANDLER(RenderProcessHostMsg_SuddenTerminationChanged,
|
| SuddenTerminationChanged)
|
| + IPC_MESSAGE_HANDLER(RenderProcessHostMsg_GetUniversalAccessDisposition,
|
| + OnGetUniversalAccessDisposition);
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_UserMetricsRecordAction,
|
| OnUserMetricsRecordAction)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_SavedPageAsMHTML, OnSavedPageAsMHTML)
|
| @@ -2387,6 +2389,13 @@ void RenderProcessHostImpl::SuddenTerminationChanged(bool enabled) {
|
| SetSuddenTerminationAllowed(enabled);
|
| }
|
|
|
| +void RenderProcessHostImpl::OnGetUniversalAccessDisposition(
|
| + bool* is_access_grantable) {
|
| + DCHECK(is_access_grantable);
|
| + *is_access_grantable = base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDisableWebSecurity);
|
| +}
|
| +
|
| void RenderProcessHostImpl::UpdateProcessPriority() {
|
| if (!child_process_launcher_.get() || child_process_launcher_->IsStarting()) {
|
| is_process_backgrounded_ = false;
|
|
|