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

Unified Diff: remoting/host/host_main.cc

Issue 20985002: 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/disconnect_window_win.cc ('k') | remoting/host/host_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_main.cc
diff --git a/remoting/host/host_main.cc b/remoting/host/host_main.cc
index 7f00000f87f5e1e13649996f1aeb37da29858443..ffff5bfb5be5ced56863694a9a85804d4610f354 100644
--- a/remoting/host/host_main.cc
+++ b/remoting/host/host_main.cc
@@ -17,6 +17,7 @@
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "remoting/base/breakpad.h"
+#include "remoting/base/resources.h"
#include "remoting/host/host_exit_codes.h"
#include "remoting/host/logging.h"
#include "remoting/host/usage_stats_consent.h"
@@ -232,11 +233,16 @@ int HostMain(int argc, char** argv) {
return kUsageExitCode;
}
+ remoting::LoadResources("");
+
// Invoke the entry point.
int exit_code = main_routine();
if (exit_code == kUsageExitCode) {
Usage(command_line->GetProgram());
}
+
+ remoting::UnloadResources();
+
return exit_code;
}
« no previous file with comments | « remoting/host/disconnect_window_win.cc ('k') | remoting/host/host_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698