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

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

Issue 6250070: Added command line switches and UI (controlled via a build option) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review concerns Created 9 years, 10 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 | « chrome/browser/browser_main.cc ('k') | chrome/browser/ui/browser.cc » ('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 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 switches::kInternalPepper, 707 switches::kInternalPepper,
708 switches::kJavaScriptFlags, 708 switches::kJavaScriptFlags,
709 switches::kLoggingLevel, 709 switches::kLoggingLevel,
710 switches::kMemoryProfiling, 710 switches::kMemoryProfiling,
711 switches::kMessageLoopHistogrammer, 711 switches::kMessageLoopHistogrammer,
712 switches::kNoJsRandomness, 712 switches::kNoJsRandomness,
713 switches::kNoReferrers, 713 switches::kNoReferrers,
714 switches::kNoSandbox, 714 switches::kNoSandbox,
715 switches::kPlaybackMode, 715 switches::kPlaybackMode,
716 switches::kPpapiOutOfProcess, 716 switches::kPpapiOutOfProcess,
717 switches::kProfilingAtStart,
718 switches::kProfilingFile,
719 switches::kProfilingFlush,
717 switches::kRecordMode, 720 switches::kRecordMode,
718 switches::kRegisterPepperPlugins, 721 switches::kRegisterPepperPlugins,
719 switches::kRemoteShellPort, 722 switches::kRemoteShellPort,
720 switches::kRendererAssertTest, 723 switches::kRendererAssertTest,
721 #if !defined(OFFICIAL_BUILD) 724 #if !defined(OFFICIAL_BUILD)
722 switches::kRendererCheckFalseTest, 725 switches::kRendererCheckFalseTest,
723 #endif // !defined(OFFICIAL_BUILD) 726 #endif // !defined(OFFICIAL_BUILD)
724 switches::kRendererCrashTest, 727 switches::kRendererCrashTest,
725 switches::kRendererStartupDialog, 728 switches::kRendererStartupDialog,
726 switches::kShowPaintRects, 729 switches::kShowPaintRects,
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
1278 IPC::PlatformFileForTransit file; 1281 IPC::PlatformFileForTransit file;
1279 #if defined(OS_POSIX) 1282 #if defined(OS_POSIX)
1280 file = base::FileDescriptor(model_file, false); 1283 file = base::FileDescriptor(model_file, false);
1281 #elif defined(OS_WIN) 1284 #elif defined(OS_WIN)
1282 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0, 1285 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0,
1283 false, DUPLICATE_SAME_ACCESS); 1286 false, DUPLICATE_SAME_ACCESS);
1284 #endif 1287 #endif
1285 Send(new ViewMsg_SetPhishingModel(file)); 1288 Send(new ViewMsg_SetPhishingModel(file));
1286 } 1289 }
1287 } 1290 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698