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

Side by Side Diff: chrome/browser/renderer_host/browser_render_process_host.cc

Issue 5917001: Change the "Disable outdated plug-ins" lab to block them instead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename command line switch and viewmsg Created 10 years 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/plugin_updater.cc ('k') | chrome/browser/renderer_host/render_view_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 // --in-process-webgl. 639 // --in-process-webgl.
640 switches::kUseGL, 640 switches::kUseGL,
641 switches::kDisableAcceleratedCompositing, 641 switches::kDisableAcceleratedCompositing,
642 #if defined(OS_MACOSX) 642 #if defined(OS_MACOSX)
643 // Allow this to be set when invoking the browser and relayed along. 643 // Allow this to be set when invoking the browser and relayed along.
644 switches::kEnableSandboxLogging, 644 switches::kEnableSandboxLogging,
645 #endif 645 #endif
646 switches::kRemoteShellPort, 646 switches::kRemoteShellPort,
647 switches::kEnablePepperTesting, 647 switches::kEnablePepperTesting,
648 switches::kBlockNonSandboxedPlugins, 648 switches::kBlockNonSandboxedPlugins,
649 switches::kDisableOutdatedPlugins, 649 switches::kBlockOutdatedPlugins,
650 switches::kEnableRemoting, 650 switches::kEnableRemoting,
651 switches::kEnableClickToPlay, 651 switches::kEnableClickToPlay,
652 switches::kEnableResourceContentSettings, 652 switches::kEnableResourceContentSettings,
653 switches::kPrelaunchGpuProcess, 653 switches::kPrelaunchGpuProcess,
654 switches::kEnableAcceleratedDecoding, 654 switches::kEnableAcceleratedDecoding,
655 switches::kDisableFileSystem, 655 switches::kDisableFileSystem,
656 switches::kPpapiOutOfProcess, 656 switches::kPpapiOutOfProcess,
657 switches::kEnablePrintPreview, 657 switches::kEnablePrintPreview,
658 switches::kEnableCrxlessWebApps 658 switches::kEnableCrxlessWebApps
659 }; 659 };
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
1246 IPC::PlatformFileForTransit file; 1246 IPC::PlatformFileForTransit file;
1247 #if defined(OS_POSIX) 1247 #if defined(OS_POSIX)
1248 file = base::FileDescriptor(model_file, false); 1248 file = base::FileDescriptor(model_file, false);
1249 #elif defined(OS_WIN) 1249 #elif defined(OS_WIN)
1250 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0, 1250 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0,
1251 false, DUPLICATE_SAME_ACCESS); 1251 false, DUPLICATE_SAME_ACCESS);
1252 #endif 1252 #endif
1253 Send(new ViewMsg_SetPhishingModel(file)); 1253 Send(new ViewMsg_SetPhishingModel(file));
1254 } 1254 }
1255 } 1255 }
OLDNEW
« no previous file with comments | « chrome/browser/plugin_updater.cc ('k') | chrome/browser/renderer_host/render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698