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

Unified Diff: chrome/browser/diagnostics/diagnostics_writer.cc

Issue 105193002: Replace string16 with base::string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « chrome/browser/devtools/devtools_window.cc ('k') | chrome/browser/do_not_track_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/diagnostics/diagnostics_writer.cc
diff --git a/chrome/browser/diagnostics/diagnostics_writer.cc b/chrome/browser/diagnostics/diagnostics_writer.cc
index 4b95ef637959fe8a92c9d47f18dbeec6be07bc4e..84451cc36608760eddd804cff9cdb8aad9b8980b 100644
--- a/chrome/browser/diagnostics/diagnostics_writer.cc
+++ b/chrome/browser/diagnostics/diagnostics_writer.cc
@@ -42,7 +42,7 @@ class SimpleConsole {
virtual bool Init() = 0;
// Writes a string to the console with the current color.
- virtual bool Write(const string16& text) = 0;
+ virtual bool Write(const base::string16& text) = 0;
// Called when the program is about to exit.
virtual void OnQuit() = 0;
@@ -77,7 +77,7 @@ class WinConsole : public SimpleConsole {
return SetIOHandles();
}
- virtual bool Write(const string16& txt) {
+ virtual bool Write(const base::string16& txt) {
DWORD sz = txt.size();
return (TRUE == ::WriteConsoleW(std_out_, txt.c_str(), sz, &sz, NULL));
}
@@ -146,7 +146,7 @@ class PosixConsole : public SimpleConsole {
return true;
}
- virtual bool Write(const string16& text) OVERRIDE {
+ virtual bool Write(const base::string16& text) OVERRIDE {
// We're assuming that the terminal is using UTF-8 encoding.
printf("%s", UTF16ToUTF8(text).c_str());
return true;
« no previous file with comments | « chrome/browser/devtools/devtools_window.cc ('k') | chrome/browser/do_not_track_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698