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

Unified Diff: chrome/browser/extensions/sandboxed_extension_unpacker.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/sandboxed_extension_unpacker.h
===================================================================
--- chrome/browser/extensions/sandboxed_extension_unpacker.h (revision 114888)
+++ chrome/browser/extensions/sandboxed_extension_unpacker.h (working copy)
@@ -38,7 +38,7 @@
const FilePath& extension_root,
const base::DictionaryValue* original_manifest,
const Extension* extension) = 0;
- virtual void OnUnpackFailure(const std::string& error) = 0;
+ virtual void OnUnpackFailure(const string16& error) = 0;
protected:
friend class base::RefCountedThreadSafe<SandboxedExtensionUnpackerClient>;
@@ -199,9 +199,9 @@
// IPC message handlers.
void OnUnpackExtensionSucceeded(const base::DictionaryValue& manifest);
- void OnUnpackExtensionFailed(const std::string& error_message);
+ void OnUnpackExtensionFailed(const string16& error_message);
- void ReportFailure(FailureReason reason, const std::string& message);
+ void ReportFailure(FailureReason reason, const string16& message);
void ReportSuccess(const base::DictionaryValue& original_manifest);
// Overwrites original manifest with safe result from utility process.
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | chrome/browser/extensions/sandboxed_extension_unpacker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698