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

Side by Side Diff: chrome_frame/chrome_launcher.cc

Issue 264068: Refactoring of crash reporting code in Chrome Frame... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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_frame/chrome_frame_reporting.cc ('k') | chrome_frame/chrome_tab.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "chrome_frame/chrome_launcher.h" 5 #include "chrome_frame/chrome_launcher.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "chrome/common/chrome_constants.h" 12 #include "chrome/common/chrome_constants.h"
13 #include "chrome/common/chrome_switches.h" 13 #include "chrome/common/chrome_switches.h"
14 #include "chrome_frame/chrome_frame_automation.h" 14 #include "chrome_frame/chrome_frame_automation.h"
15 #include "chrome_frame/crash_report.h"
16 15
17 namespace chrome_launcher { 16 namespace chrome_launcher {
18 17
19 const wchar_t kLauncherExeBaseName[] = L"chrome_launcher.exe"; 18 const wchar_t kLauncherExeBaseName[] = L"chrome_launcher.exe";
20 19
21 // These are the switches we will allow (along with their values) in the 20 // These are the switches we will allow (along with their values) in the
22 // safe-for-Low-Integrity version of the Chrome command line. 21 // safe-for-Low-Integrity version of the Chrome command line.
23 const char* kAllowedSwitches[] = { 22 const char* kAllowedSwitches[] = {
24 switches::kAutomationClientChannelID, 23 switches::kAutomationClientChannelID,
25 switches::kDisableMetrics, 24 switches::kDisableMetrics,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 return ERROR_OPEN_FAILED; 116 return ERROR_OPEN_FAILED;
118 } 117 }
119 } 118 }
120 119
121 // Compile-time check to see that the type CfLaunchChromeProc is correct. 120 // Compile-time check to see that the type CfLaunchChromeProc is correct.
122 #ifndef NODEBUG 121 #ifndef NODEBUG
123 namespace { 122 namespace {
124 chrome_launcher::CfLaunchChromeProc cf_launch_chrome = CfLaunchChrome; 123 chrome_launcher::CfLaunchChromeProc cf_launch_chrome = CfLaunchChrome;
125 } // namespace 124 } // namespace
126 #endif // NODEBUG 125 #endif // NODEBUG
OLDNEW
« no previous file with comments | « chrome_frame/chrome_frame_reporting.cc ('k') | chrome_frame/chrome_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698