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

Unified Diff: chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc

Issue 22794012: Rename extension_manifest_keys namespace to extensions::manifest_keys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 months 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_platformapp_unittest.cc
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
index 3d361b0ceb0e8c9b0567063e5b24028453813225..b4e5f678650df32e3a26171c41c482c8dbd1c30b 100644
--- a/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
@@ -11,6 +11,7 @@
#include "chrome/common/extensions/incognito_handler.h"
#include "chrome/common/extensions/manifest_handlers/app_isolation_info.h"
#include "chrome/common/extensions/manifest_tests/extension_manifest_test.h"
+#include "extensions/common/error_utils.h"
#include "extensions/common/switches.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -36,9 +37,10 @@ TEST_F(PlatformAppsManifestTest, PlatformApps) {
Testcase error_testcases[] = {
Testcase("init_invalid_platform_app_2.json",
- errors::kBackgroundRequiredForPlatformApps),
+ errors::kBackgroundRequiredForPlatformApps),
Testcase("init_invalid_platform_app_3.json",
- errors::kPlatformAppNeedsManifestVersion2),
+ ErrorUtils::FormatErrorMessage(
+ errors::kInvalidManifestVersionOld, "2", "apps")),
};
RunTestcases(error_testcases, arraysize(error_testcases), EXPECT_TYPE_ERROR);

Powered by Google App Engine
This is Rietveld 408576698