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

Unified Diff: chrome/common/extensions/manifest_tests/extension_manifests_contentscript_unittest.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/manifest_tests/extension_manifests_contentscript_unittest.cc
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_contentscript_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_contentscript_unittest.cc
index 8536ffd604441cb5b7119a37debc53fb5186c2e2..672c650b91eaaf28161f20731463db0a3115e8be 100644
--- a/chrome/common/extensions/manifest_tests/extension_manifests_contentscript_unittest.cc
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_contentscript_unittest.cc
@@ -6,8 +6,8 @@
#include "base/string_number_conversions.h"
#include "chrome/common/extensions/extension.h"
-#include "chrome/common/extensions/extension_error_utils.h"
#include "chrome/common/extensions/extension_manifest_constants.h"
+#include "extensions/common/error_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace errors = extension_manifest_errors;
@@ -16,7 +16,7 @@ TEST_F(ExtensionManifestTest, ContentScriptMatchPattern) {
Testcase testcases[] = {
// chrome:// urls are not allowed.
Testcase("content_script_chrome_url_invalid.json",
- ExtensionErrorUtils::FormatErrorMessage(
+ extensions::ErrorUtils::FormatErrorMessage(
errors::kInvalidMatch,
base::IntToString(0),
base::IntToString(0),
@@ -25,10 +25,10 @@ TEST_F(ExtensionManifestTest, ContentScriptMatchPattern) {
// Match paterns must be strings.
Testcase("content_script_match_pattern_not_string.json",
- ExtensionErrorUtils::FormatErrorMessage(errors::kInvalidMatch,
- base::IntToString(0),
- base::IntToString(0),
- errors::kExpectString))
+ extensions::ErrorUtils::FormatErrorMessage(errors::kInvalidMatch,
+ base::IntToString(0),
+ base::IntToString(0),
+ errors::kExpectString))
};
RunTestcases(testcases, arraysize(testcases),
EXPECT_TYPE_ERROR);

Powered by Google App Engine
This is Rietveld 408576698