| OLD | NEW |
| 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 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
| (...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 switches::kDisableLocalStorage, | 653 switches::kDisableLocalStorage, |
| 654 switches::kDisableLogging, | 654 switches::kDisableLogging, |
| 655 switches::kDisableSeccompSandbox, | 655 switches::kDisableSeccompSandbox, |
| 656 switches::kDisableSessionStorage, | 656 switches::kDisableSessionStorage, |
| 657 switches::kDisableSharedWorkers, | 657 switches::kDisableSharedWorkers, |
| 658 switches::kDisableSpeechInput, | 658 switches::kDisableSpeechInput, |
| 659 switches::kDisableWebAudio, | 659 switches::kDisableWebAudio, |
| 660 switches::kDisableWebSockets, | 660 switches::kDisableWebSockets, |
| 661 switches::kEnableAccessibilityLogging, | 661 switches::kEnableAccessibilityLogging, |
| 662 switches::kEnableDCHECK, | 662 switches::kEnableDCHECK, |
| 663 switches::kEnableFixedLayout, |
| 663 switches::kEnableGamepad, | 664 switches::kEnableGamepad, |
| 664 switches::kEnableGPUServiceLogging, | 665 switches::kEnableGPUServiceLogging, |
| 665 switches::kEnableGPUClientLogging, | 666 switches::kEnableGPUClientLogging, |
| 666 switches::kEnableIndexedDBForWorkers, | 667 switches::kEnableIndexedDBForWorkers, |
| 667 switches::kEnableLogging, | 668 switches::kEnableLogging, |
| 668 switches::kEnableMediaSource, | 669 switches::kEnableMediaSource, |
| 669 switches::kEnableMediaStream, | 670 switches::kEnableMediaStream, |
| 670 switches::kEnableStrictSiteIsolation, | 671 switches::kEnableStrictSiteIsolation, |
| 671 switches::kDisableFullScreen, | 672 switches::kDisableFullScreen, |
| 672 switches::kEnablePepperTesting, | 673 switches::kEnablePepperTesting, |
| (...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1303 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) { | 1304 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) { |
| 1304 // Only honor the request if appropriate persmissions are granted. | 1305 // Only honor the request if appropriate persmissions are granted. |
| 1305 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(GetID(), path)) | 1306 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(GetID(), path)) |
| 1306 content::GetContentClient()->browser()->OpenItem(path); | 1307 content::GetContentClient()->browser()->OpenItem(path); |
| 1307 } | 1308 } |
| 1308 | 1309 |
| 1309 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { | 1310 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { |
| 1310 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> | 1311 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> |
| 1311 MHTMLGenerated(job_id, data_size); | 1312 MHTMLGenerated(job_id, data_size); |
| 1312 } | 1313 } |
| OLD | NEW |