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

Unified Diff: chrome/common/extensions/message_bundle.cc

Issue 11312228: Move extension_error_utils.* and url_pattern_set.* into (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: hate Created 8 years, 1 month 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/common/extensions/message_bundle.cc
diff --git a/chrome/common/extensions/message_bundle.cc b/chrome/common/extensions/message_bundle.cc
index 9e39b98b542611e6fb7e454b962501cb699e70ae..4e5899cac0dbec4f1993351b4e4035220e1a5c9a 100644
--- a/chrome/common/extensions/message_bundle.cc
+++ b/chrome/common/extensions/message_bundle.cc
@@ -16,9 +16,9 @@
#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
#include "base/values.h"
-#include "chrome/common/extensions/extension_manifest_constants.h"
-#include "chrome/common/extensions/extension_error_utils.h"
#include "chrome/common/extensions/extension_l10n_util.h"
+#include "chrome/common/extensions/extension_manifest_constants.h"
+#include "extensions/common/error_utils.h"
#include "ui/base/l10n/l10n_util.h"
namespace errors = extension_manifest_errors;
@@ -118,7 +118,7 @@ bool MessageBundle::AppendReservedMessagesForLocale(
SubstitutionMap::iterator it = append_messages.begin();
for (; it != append_messages.end(); ++it) {
if (ContainsKey(dictionary_, it->first)) {
- *error = ExtensionErrorUtils::FormatErrorMessage(
+ *error = ErrorUtils::FormatErrorMessage(
errors::kReservedMessageFound, it->first);
return false;
} else {
« no previous file with comments | « chrome/common/extensions/matcher/url_matcher_factory.cc ('k') | chrome/common/extensions/message_bundle_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698