OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/renderer_host/browser_render_process_host.h" | 8 #include "chrome/browser/renderer_host/browser_render_process_host.h" |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 // --in-process-webgl. | 711 // --in-process-webgl. |
712 switches::kUseGL, | 712 switches::kUseGL, |
713 switches::kDisableAcceleratedCompositing, | 713 switches::kDisableAcceleratedCompositing, |
714 #if defined(OS_MACOSX) | 714 #if defined(OS_MACOSX) |
715 // Allow this to be set when invoking the browser and relayed along. | 715 // Allow this to be set when invoking the browser and relayed along. |
716 switches::kEnableSandboxLogging, | 716 switches::kEnableSandboxLogging, |
717 #endif | 717 #endif |
718 switches::kRemoteShellPort, | 718 switches::kRemoteShellPort, |
719 switches::kEnablePepperTesting, | 719 switches::kEnablePepperTesting, |
720 switches::kAllowOutdatedPlugins, | 720 switches::kAllowOutdatedPlugins, |
| 721 switches::kNewChromeUISecurityModel, |
721 switches::kEnableRemoting, | 722 switches::kEnableRemoting, |
722 switches::kEnableClickToPlay, | 723 switches::kEnableClickToPlay, |
723 switches::kEnableResourceContentSettings, | 724 switches::kEnableResourceContentSettings, |
724 switches::kPrelaunchGpuProcess, | 725 switches::kPrelaunchGpuProcess, |
725 switches::kEnableAcceleratedDecoding, | 726 switches::kEnableAcceleratedDecoding, |
726 switches::kDisableFileSystem, | 727 switches::kDisableFileSystem, |
727 switches::kPpapiOutOfProcess, | 728 switches::kPpapiOutOfProcess, |
728 switches::kEnablePrintPreview, | 729 switches::kEnablePrintPreview, |
729 switches::kEnableCrxlessWebApps, | 730 switches::kEnableCrxlessWebApps, |
730 switches::kDisable3DAPIs | 731 switches::kDisable3DAPIs |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1287 IPC::PlatformFileForTransit file; | 1288 IPC::PlatformFileForTransit file; |
1288 #if defined(OS_POSIX) | 1289 #if defined(OS_POSIX) |
1289 file = base::FileDescriptor(model_file, false); | 1290 file = base::FileDescriptor(model_file, false); |
1290 #elif defined(OS_WIN) | 1291 #elif defined(OS_WIN) |
1291 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0, | 1292 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0, |
1292 false, DUPLICATE_SAME_ACCESS); | 1293 false, DUPLICATE_SAME_ACCESS); |
1293 #endif | 1294 #endif |
1294 Send(new ViewMsg_SetPhishingModel(file)); | 1295 Send(new ViewMsg_SetPhishingModel(file)); |
1295 } | 1296 } |
1296 } | 1297 } |
OLD | NEW |