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

Unified Diff: chrome/browser/extensions/extension_module.cc

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 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/browser/extensions/extension_module.cc
diff --git a/chrome/browser/extensions/extension_module.cc b/chrome/browser/extensions/extension_module.cc
index a1c884bdc08c736b7eeddc06a1f55b34d031acf8..9025c4a82a426fe00c6ef96ce101bf24082ad5e4 100644
--- a/chrome/browser/extensions/extension_module.cc
+++ b/chrome/browser/extensions/extension_module.cc
@@ -26,7 +26,7 @@ bool IsAllowedIncognitoAccessFunction::RunImpl() {
ExtensionService* ext_service = profile()->GetExtensionService();
const Extension* extension = GetExtension();
- result_.reset(Value::CreateBooleanValue(
+ result_.reset(base::BooleanValue::New(
ext_service->IsIncognitoEnabled(extension->id())));
return true;
}
@@ -35,7 +35,7 @@ bool IsAllowedFileSchemeAccessFunction::RunImpl() {
ExtensionService* ext_service = profile()->GetExtensionService();
const Extension* extension = GetExtension();
- result_.reset(Value::CreateBooleanValue(
+ result_.reset(base::BooleanValue::New(
ext_service->AllowFileAccess(extension)));
return true;
}
« no previous file with comments | « chrome/browser/extensions/extension_metrics_module.cc ('k') | chrome/browser/extensions/extension_omnibox_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698