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

Unified Diff: remoting/host/ui_strings.h

Issue 7669045: Make ChromotingHost::ui_strings() immutable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 4 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/plugin/host_script_object.cc ('k') | remoting/host/ui_strings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ui_strings.h
diff --git a/remoting/host/ui_strings.h b/remoting/host/ui_strings.h
index c06140f353be91a7ea765891609736638b76068d..bdd0c4abeeba9d9942d29581025866e4c0bc7608 100644
--- a/remoting/host/ui_strings.h
+++ b/remoting/host/ui_strings.h
@@ -5,7 +5,7 @@
#ifndef REMOTING_HOST_UI_STRINGS_H_
#define REMOTING_HOST_UI_STRINGS_H_
-#include <string>
+#include "base/string16.h"
// This struct contains localized strings to be displayed in host dialogs.
// For the web-app, these are loaded from the appropriate messages.json
@@ -27,28 +27,25 @@ struct UiStrings {
Direction direction;
// The product name (Chromoting or Chrome Remote Desktop).
- std::string product_name;
+ string16 product_name;
// The message in the disconnect dialog.
- std::string disconnect_message;
+ string16 disconnect_message;
// The label on the disconnect dialog button, without the keyboard shortcut.
- std::string disconnect_button_text;
+ string16 disconnect_button_text;
// The label on the disconnect dialog button, with the keyboard shortcut.
- std::string disconnect_button_text_plus_shortcut;
-
- // The keyboard shortcut for disconnecting clients.
- std::string disconnect_button_shortcut;
+ string16 disconnect_button_text_plus_shortcut;
// The confirmation prompt displayed by the continue window.
- std::string continue_prompt;
+ string16 continue_prompt;
// The label on the 'Continue' button of the continue window.
- std::string continue_button_text;
+ string16 continue_button_text;
// The label on the 'Stop Sharing' button of the continue window.
- std::string stop_sharing_button_text;
+ string16 stop_sharing_button_text;
};
}
« no previous file with comments | « remoting/host/plugin/host_script_object.cc ('k') | remoting/host/ui_strings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698