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

Side by Side Diff: remoting/host/ui_strings.cc

Issue 15995038: Use a direct include of utf_string_conversions.h in google_apis/, gpu/, ipc/, media/, ppapi/, print… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/setup/win/start_host_window.cc ('k') | remoting/host/verify_config_window_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/host/ui_strings.h" 5 #include "remoting/host/ui_strings.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 8
9 namespace remoting { 9 namespace remoting {
10 10
11 UiStrings::UiStrings() : 11 UiStrings::UiStrings() :
12 direction(LTR), 12 direction(LTR),
13 product_name(ASCIIToUTF16("Chromoting")), 13 product_name(ASCIIToUTF16("Chromoting")),
14 // Audio is currently only supported for Me2Me, and not on Mac. However, 14 // Audio is currently only supported for Me2Me, and not on Mac. However,
15 // for IT2Me, these strings are replaced during l10n, so it's fine to 15 // for IT2Me, these strings are replaced during l10n, so it's fine to
16 // hard-code a mention of audio here. 16 // hard-code a mention of audio here.
17 #if defined(OS_MACOSX) 17 #if defined(OS_MACOSX)
18 disconnect_message( 18 disconnect_message(
19 ASCIIToUTF16("Your desktop is currently shared with $1.")), 19 ASCIIToUTF16("Your desktop is currently shared with $1.")),
20 #else 20 #else
21 disconnect_message(ASCIIToUTF16( 21 disconnect_message(ASCIIToUTF16(
22 "Your desktop and any audio output are currently shared with $1.")), 22 "Your desktop and any audio output are currently shared with $1.")),
23 #endif 23 #endif
24 disconnect_button_text(ASCIIToUTF16("Disconnect")), 24 disconnect_button_text(ASCIIToUTF16("Disconnect")),
25 continue_prompt(ASCIIToUTF16( 25 continue_prompt(ASCIIToUTF16(
26 "You are currently sharing this machine with another user. " 26 "You are currently sharing this machine with another user. "
27 "Please confirm that you want to continue sharing.")), 27 "Please confirm that you want to continue sharing.")),
28 continue_button_text(ASCIIToUTF16("Continue")), 28 continue_button_text(ASCIIToUTF16("Continue")),
29 stop_sharing_button_text(ASCIIToUTF16("Stop Sharing")) { 29 stop_sharing_button_text(ASCIIToUTF16("Stop Sharing")) {
30 } 30 }
31 31
32 UiStrings::~UiStrings() {} 32 UiStrings::~UiStrings() {}
33 33
34 } // namespace remoting 34 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/setup/win/start_host_window.cc ('k') | remoting/host/verify_config_window_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698