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

Unified Diff: chrome/browser/extensions/extension_error_reporter.h

Issue 8890086: Issue 71980: Extensions code should use UTF-16 for user-visible Unicode strings (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 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
Index: chrome/browser/extensions/extension_error_reporter.h
===================================================================
--- chrome/browser/extensions/extension_error_reporter.h (revision 114888)
+++ chrome/browser/extensions/extension_error_reporter.h (working copy)
@@ -9,6 +9,8 @@
#include <string>
#include <vector>
+#include "base/string16.h"
+
class MessageLoop;
// Exposes an easy way for the various components of the extension system to
@@ -30,10 +32,10 @@
// Report an error. Errors always go to VLOG(1). Optionally, they can also
// cause a noisy alert box. This method can be called from any thread.
- void ReportError(const std::string& message, bool be_noisy);
+ void ReportError(const string16& message, bool be_noisy);
// Get the errors that have been reported so far.
- const std::vector<std::string>* GetErrors();
+ const std::vector<string16>* GetErrors();
// Clear the list of errors reported so far.
void ClearErrors();
@@ -45,7 +47,7 @@
~ExtensionErrorReporter();
MessageLoop* ui_loop_;
- std::vector<std::string> errors_;
+ std::vector<string16> errors_;
bool enable_noisy_errors_;
};
« no previous file with comments | « chrome/browser/extensions/extension_browsertest.cc ('k') | chrome/browser/extensions/extension_error_reporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698