Chromium Code Reviews| Index: extensions/common/extension_error_utils.h |
| diff --git a/chrome/common/extensions/extension_error_utils.h b/extensions/common/extension_error_utils.h |
| similarity index 86% |
| rename from chrome/common/extensions/extension_error_utils.h |
| rename to extensions/common/extension_error_utils.h |
| index 4745ca088f176245cd285b4395c0ff806e25e572..41cdec24486aa020fb751232082515109f415f16 100644 |
| --- a/chrome/common/extensions/extension_error_utils.h |
| +++ b/extensions/common/extension_error_utils.h |
| @@ -2,14 +2,16 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_ERROR_UTILS_H_ |
| -#define CHROME_COMMON_EXTENSIONS_EXTENSION_ERROR_UTILS_H_ |
| +#ifndef EXTENSIONS_COMMON_EXTENSION_ERROR_UTILS_H_ |
|
Yoyo Zhou
2012/11/15 23:14:28
LGTM, but this could be renamed to simply error_ut
|
| +#define EXTENSIONS_COMMON_EXTENSION_ERROR_UTILS_H_ |
| #include <string> |
| #include "base/string16.h" |
| -class ExtensionErrorUtils { |
| +namespace extensions { |
| + |
| +class ErrorUtils { |
| public: |
| // Creates an error messages from a pattern. |
| static std::string FormatErrorMessage(const std::string& format, |
| @@ -37,4 +39,6 @@ class ExtensionErrorUtils { |
| const std::string& s3); |
| }; |
| -#endif // CHROME_COMMON_EXTENSIONS_EXTENSION_ERROR_UTILS_H_ |
| +} // namespace extensions |
| + |
| +#endif // EXTENSIONS_COMMON_EXTENSION_ERROR_UTILS_H_ |