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

Unified Diff: chrome/browser/background/background_application_list_model_unittest.cc

Issue 2738553002: [Extensions] Log instances of invalid extensions being added (Closed)
Patch Set: . Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/background/background_application_list_model_unittest.cc
diff --git a/chrome/browser/background/background_application_list_model_unittest.cc b/chrome/browser/background/background_application_list_model_unittest.cc
index e1af42d5833f61d2d41ab570d4f110b96938afe2..1de77caef3247ebf4b58406c15f0dfcce2ce10a6 100644
--- a/chrome/browser/background/background_application_list_model_unittest.cc
+++ b/chrome/browser/background/background_application_list_model_unittest.cc
@@ -89,12 +89,9 @@ static scoped_refptr<Extension> CreateExtension(
std::string error;
scoped_refptr<Extension> extension;
- extension = Extension::Create(
- bogus_file_pathname(name),
- extensions::Manifest::INVALID_LOCATION,
- manifest,
- Extension::NO_FLAGS,
- &error);
+ extension = Extension::Create(bogus_file_pathname(name),
+ extensions::Manifest::INTERNAL, manifest,
+ Extension::NO_FLAGS, &error);
// Cannot ASSERT_* here because that attempts an illegitimate return.
// Cannot EXPECT_NE here because that assumes non-pointers unlike EXPECT_EQ
« no previous file with comments | « no previous file | chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698