Index: chrome/browser/sync/glue/extension_util_unittest.cc |
diff --git a/chrome/browser/sync/glue/extension_util_unittest.cc b/chrome/browser/sync/glue/extension_util_unittest.cc |
index 2ca92dde181aa85fa7e0bd5c7173bc102526ea9b..b72b7a891274cb8f814a878ed5631fc3491d8ca9 100644 |
--- a/chrome/browser/sync/glue/extension_util_unittest.cc |
+++ b/chrome/browser/sync/glue/extension_util_unittest.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -71,7 +71,7 @@ scoped_refptr<Extension> MakeExtension( |
std::string error; |
scoped_refptr<Extension> extension = Extension::Create( |
- extension_path, location, source, false, true, &error); |
+ extension_path, location, source, Extension::STRICT_ERROR_CHECKS, &error); |
#if defined(OS_CHROMEOS) |
if (num_plugins > 0) { // plugins are illegal in extensions on chrome os. |
EXPECT_FALSE(extension); |
@@ -386,7 +386,8 @@ scoped_refptr<Extension> MakeSyncableExtension( |
source.SetString(extension_manifest_keys::kName, name); |
std::string error; |
scoped_refptr<Extension> extension = Extension::Create( |
- extension_path, Extension::INTERNAL, source, false, true, &error); |
+ extension_path, Extension::INTERNAL, source, |
+ Extension::STRICT_ERROR_CHECKS, &error); |
EXPECT_TRUE(extension); |
EXPECT_EQ("", error); |
return extension; |