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

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

Issue 6266017: Make new chrome UI security model the default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 months 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 | « no previous file | chrome/browser/resources/options/options_page.js » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 // --in-process-webgl. 713 // --in-process-webgl.
714 switches::kUseGL, 714 switches::kUseGL,
715 switches::kDisableAcceleratedCompositing, 715 switches::kDisableAcceleratedCompositing,
716 #if defined(OS_MACOSX) 716 #if defined(OS_MACOSX)
717 // Allow this to be set when invoking the browser and relayed along. 717 // Allow this to be set when invoking the browser and relayed along.
718 switches::kEnableSandboxLogging, 718 switches::kEnableSandboxLogging,
719 #endif 719 #endif
720 switches::kRemoteShellPort, 720 switches::kRemoteShellPort,
721 switches::kEnablePepperTesting, 721 switches::kEnablePepperTesting,
722 switches::kAllowOutdatedPlugins, 722 switches::kAllowOutdatedPlugins,
723 switches::kNewChromeUISecurityModel,
724 switches::kEnableRemoting, 723 switches::kEnableRemoting,
725 switches::kEnableClickToPlay, 724 switches::kEnableClickToPlay,
726 switches::kEnableResourceContentSettings, 725 switches::kEnableResourceContentSettings,
727 switches::kEnableAcceleratedDecoding, 726 switches::kEnableAcceleratedDecoding,
728 switches::kDisableFileSystem, 727 switches::kDisableFileSystem,
729 switches::kPpapiOutOfProcess, 728 switches::kPpapiOutOfProcess,
730 switches::kEnablePrintPreview, 729 switches::kEnablePrintPreview,
731 switches::kEnableCrxlessWebApps, 730 switches::kEnableCrxlessWebApps,
732 switches::kDisable3DAPIs, 731 switches::kDisable3DAPIs,
733 switches::kEnableInBrowserThumbnailing, 732 switches::kEnableInBrowserThumbnailing,
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
1290 IPC::PlatformFileForTransit file; 1289 IPC::PlatformFileForTransit file;
1291 #if defined(OS_POSIX) 1290 #if defined(OS_POSIX)
1292 file = base::FileDescriptor(model_file, false); 1291 file = base::FileDescriptor(model_file, false);
1293 #elif defined(OS_WIN) 1292 #elif defined(OS_WIN)
1294 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0, 1293 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0,
1295 false, DUPLICATE_SAME_ACCESS); 1294 false, DUPLICATE_SAME_ACCESS);
1296 #endif 1295 #endif
1297 Send(new ViewMsg_SetPhishingModel(file)); 1296 Send(new ViewMsg_SetPhishingModel(file));
1298 } 1297 }
1299 } 1298 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/options/options_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698