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

Unified Diff: remoting/host/win/version.rc.jinja2

Issue 21059003: Localized Chromoting Host on Mac and Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 5 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/win/session_desktop_environment.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/version.rc.jinja2
diff --git a/remoting/host/win/version.rc.jinja2 b/remoting/host/win/version.rc.jinja2
index 19ba83dafdf62fed7769c649ba1adbed9e34a7b8..fcae127afaefe31957055d8da4e6b057ec609185 100644
--- a/remoting/host/win/version.rc.jinja2
+++ b/remoting/host/win/version.rc.jinja2
@@ -3,11 +3,17 @@
// found in the LICENSE file.
#include <winresrc.h>
+
#ifdef IDC_STATIC
#undef IDC_STATIC
#endif
#define IDC_STATIC (-1)
+// These marcos are copied from "base/stringize_macros.h" which cannot be
+// included directly.
+#define STRINGIZE_NO_EXPANSION(x) #x
+#define STRINGIZE(x) STRINGIZE_NO_EXPANSION(x)
+
{% for lang in languages %}
{% do SelectLanguage(lang) %}
@@ -57,7 +63,7 @@ BEGIN
VALUE "FileDescription", "{% trans %}REMOTING_HOST_PLUGIN_DESCRIPTION{% endtrans %}"
VALUE "InternalName", "remoting_host_plugin.dll"
VALUE "OriginalFilename", "remoting_host_plugin.dll"
- VALUE "MIMEType", "application/vnd.chromium.remoting-host"
+ VALUE "MIMEType", STRINGIZE(HOST_PLUGIN_MIME_TYPE)
#else
#error BINARY must be set to one of BINARY_XXX values.
#endif
« no previous file with comments | « remoting/host/win/session_desktop_environment.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698