diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-19 21:52:31 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-19 21:52:31 +0000 |
commit | e9f541ab939ab67b0b4c90f362001201fe0804ad (patch) | |
tree | f7015983be2f8a8ae737a336aee458f3d53a614a /chrome/common/extensions/message_bundle.cc | |
parent | 65431cb6800bf5ac61e4a2aacc52e5e6c4d39469 (diff) | |
download | chromium_src-e9f541ab939ab67b0b4c90f362001201fe0804ad.zip chromium_src-e9f541ab939ab67b0b4c90f362001201fe0804ad.tar.gz chromium_src-e9f541ab939ab67b0b4c90f362001201fe0804ad.tar.bz2 |
Move extension_error_utils.* and url_pattern_set.* into
top-level extensions dir.
BUG=159265
TBR=ben@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/11312228
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168613 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/message_bundle.cc')
-rw-r--r-- | chrome/common/extensions/message_bundle.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/extensions/message_bundle.cc b/chrome/common/extensions/message_bundle.cc index 9e39b98..4e5899c 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 { |