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

Unified Diff: chrome/app/breakpad_win.cc

Issue 4847001: Use 'ChromeFrame' product id instead of chrome for GCF launches... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/breakpad_win.cc
===================================================================
--- chrome/app/breakpad_win.cc (revision 65256)
+++ chrome/app/breakpad_win.cc (working copy)
@@ -97,10 +97,16 @@
std::wstring version, product;
if (version_info.get()) {
// Get the information from the file.
- product = version_info->product_short_name();
version = version_info->product_version();
if (!version_info->is_official_build())
version.append(L"-devel");
+
+ const CommandLine& command = *CommandLine::ForCurrentProcess();
+ if (command.HasSwitch(switches::kChromeFrame)) {
+ product = L"ChromeFrame";
+ } else {
+ product = version_info->product_short_name();
+ }
} else {
// No version info found. Make up the values.
product = L"Chrome";
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698