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

Side by Side Diff: chrome/install_static/install_util.cc

Issue 2638433002: Integrate fallback crash handling in chrome (Closed)
Patch Set: Fix signedness comparison goof. Created 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/install_static/install_util.h" 5 #include "chrome/install_static/install_util.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <assert.h> 8 #include <assert.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 #include <string.h> 10 #include <string.h>
(...skipping 17 matching lines...) Expand all
28 // TODO(ananta) 28 // TODO(ananta)
29 // http://crbug.com/604923 29 // http://crbug.com/604923
30 // The constants defined in this file are also defined in chrome/installer and 30 // The constants defined in this file are also defined in chrome/installer and
31 // other places. we need to unify them. 31 // other places. we need to unify them.
32 const wchar_t kHeadless[] = L"CHROME_HEADLESS"; 32 const wchar_t kHeadless[] = L"CHROME_HEADLESS";
33 const wchar_t kShowRestart[] = L"CHROME_CRASHED"; 33 const wchar_t kShowRestart[] = L"CHROME_CRASHED";
34 const wchar_t kRestartInfo[] = L"CHROME_RESTART"; 34 const wchar_t kRestartInfo[] = L"CHROME_RESTART";
35 const wchar_t kRtlLocale[] = L"RIGHT_TO_LEFT"; 35 const wchar_t kRtlLocale[] = L"RIGHT_TO_LEFT";
36 36
37 const wchar_t kCrashpadHandler[] = L"crashpad-handler"; 37 const wchar_t kCrashpadHandler[] = L"crashpad-handler";
38 const wchar_t kFallbackHandler[] = L"fallback-handler";
39
38 const wchar_t kProcessType[] = L"type"; 40 const wchar_t kProcessType[] = L"type";
39 const wchar_t kUserDataDirSwitch[] = L"user-data-dir"; 41 const wchar_t kUserDataDirSwitch[] = L"user-data-dir";
40 const wchar_t kUtilityProcess[] = L"utility"; 42 const wchar_t kUtilityProcess[] = L"utility";
41 43
42 namespace { 44 namespace {
43 45
44 // TODO(ananta) 46 // TODO(ananta)
45 // http://crbug.com/604923 47 // http://crbug.com/604923
46 // The constants defined in this file are also defined in chrome/installer and 48 // The constants defined in this file are also defined in chrome/installer and
47 // other places. we need to unify them. 49 // other places. we need to unify them.
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 case ChannelStrategy::ADDITIONAL_PARAMETERS: 748 case ChannelStrategy::ADDITIONAL_PARAMETERS:
747 return ChannelFromAdditionalParameters(mode, system_level); 749 return ChannelFromAdditionalParameters(mode, system_level);
748 case ChannelStrategy::FIXED: 750 case ChannelStrategy::FIXED:
749 return mode.default_channel_name; 751 return mode.default_channel_name;
750 } 752 }
751 753
752 return std::wstring(); 754 return std::wstring();
753 } 755 }
754 756
755 } // namespace install_static 757 } // namespace install_static
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698