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

Unified Diff: remoting/host/plugin/daemon_installer_win.cc

Issue 10495003: Make Chromoting Host report crashes to Breakpad (Windows only). The user must enable crash dumps co… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing DEPS and rebased. Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/host_ui.rc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/plugin/daemon_installer_win.cc
diff --git a/remoting/host/plugin/daemon_installer_win.cc b/remoting/host/plugin/daemon_installer_win.cc
index 6eedd967f35bf19166b8eb813557554214c58d11..b5023144cffa5ca7dd1555f93c64e61d7564d4fb 100644
--- a/remoting/host/plugin/daemon_installer_win.cc
+++ b/remoting/host/plugin/daemon_installer_win.cc
@@ -24,6 +24,8 @@ namespace omaha {
#include "google_update/google_update_idl.h"
} // namespace omaha
+#include "remoting/host/constants.h"
+
using base::win::ScopedBstr;
using base::win::ScopedComPtr;
@@ -44,10 +46,6 @@ const char16 kGoogleUpdateCommandLineFormat[] =
TO_L_STRING("\"%ls\" /install \"bundlename=Chromoting%%20Host&appguid=%ls&")
TO_L_STRING("appname=Chromoting%%20Host&needsadmin=True&lang=%ls\"");
-// The Omaha Appid of the host.
-const char16 kOmahaAppid[] =
- TO_L_STRING("{b210701e-ffc4-49e3-932b-370728c72662}");
-
// TODO(alexeypa): Get the desired laungage from the web app.
const char16 kOmahaLanguage[] = TO_L_STRING("en");
@@ -143,7 +141,7 @@ void DaemonComInstallerWin::Install() {
}
// Add Chromoting Host to the bundle.
- ScopedBstr appid(kOmahaAppid);
+ ScopedBstr appid(kHostOmahaAppid);
ScopedBstr empty(kOmahaEmpty);
ScopedBstr language(kOmahaLanguage);
hr = bundle_->createApp(appid, empty, language, empty);
@@ -292,7 +290,7 @@ void DaemonCommandLineInstallerWin::Install() {
string16 command_line =
StringPrintf(kGoogleUpdateCommandLineFormat,
google_update.c_str(),
- kOmahaAppid,
+ kHostOmahaAppid,
kOmahaLanguage);
base::LaunchOptions options;
« no previous file with comments | « remoting/host/host_ui.rc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698