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_; |
}; |