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 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 switches::kNoReferrers, | 726 switches::kNoReferrers, |
727 switches::kNoSandbox, | 727 switches::kNoSandbox, |
728 switches::kPlaybackMode, | 728 switches::kPlaybackMode, |
729 switches::kPpapiOutOfProcess, | 729 switches::kPpapiOutOfProcess, |
730 switches::kRecordMode, | 730 switches::kRecordMode, |
731 switches::kRegisterPepperPlugins, | 731 switches::kRegisterPepperPlugins, |
732 switches::kRendererAssertTest, | 732 switches::kRendererAssertTest, |
733 #if !defined(OFFICIAL_BUILD) | 733 #if !defined(OFFICIAL_BUILD) |
734 switches::kRendererCheckFalseTest, | 734 switches::kRendererCheckFalseTest, |
735 #endif // !defined(OFFICIAL_BUILD) | 735 #endif // !defined(OFFICIAL_BUILD) |
| 736 #if defined(OS_POSIX) |
| 737 switches::kRendererCleanExit, |
| 738 #endif |
736 switches::kRendererCrashTest, | 739 switches::kRendererCrashTest, |
737 switches::kRendererStartupDialog, | 740 switches::kRendererStartupDialog, |
738 switches::kShowPaintRects, | 741 switches::kShowPaintRects, |
739 switches::kTestSandbox, | 742 switches::kTestSandbox, |
740 switches::kTraceStartup, | 743 switches::kTraceStartup, |
741 // This flag needs to be propagated to the renderer process for | 744 // This flag needs to be propagated to the renderer process for |
742 // --in-process-webgl. | 745 // --in-process-webgl. |
743 switches::kUseGL, | 746 switches::kUseGL, |
744 switches::kUserAgent, | 747 switches::kUserAgent, |
745 switches::kV, | 748 switches::kV, |
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1343 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) { | 1346 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) { |
1344 // Only honor the request if appropriate persmissions are granted. | 1347 // Only honor the request if appropriate persmissions are granted. |
1345 if (ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(GetID(), | 1348 if (ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(GetID(), |
1346 path)) | 1349 path)) |
1347 content::GetContentClient()->browser()->OpenItem(path); | 1350 content::GetContentClient()->browser()->OpenItem(path); |
1348 } | 1351 } |
1349 | 1352 |
1350 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { | 1353 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { |
1351 MHTMLGenerationManager::GetInstance()->MHTMLGenerated(job_id, data_size); | 1354 MHTMLGenerationManager::GetInstance()->MHTMLGenerated(job_id, data_size); |
1352 } | 1355 } |
OLD | NEW |