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

Unified Diff: chrome/browser/custom_handlers/protocol_handler_registry.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/custom_handlers/protocol_handler_registry.cc
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc
index 745e2afd901b34226ec3d28568bf7973937fe984..94fae27a792774013433607a4436021ea840f1ea 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry.cc
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc
@@ -248,7 +248,7 @@ void ProtocolHandlerRegistry::Save() {
}
scoped_ptr<Value> registered_protocol_handlers(EncodeRegisteredHandlers());
scoped_ptr<Value> ignored_protocol_handlers(EncodeIgnoredHandlers());
- scoped_ptr<Value> enabled(Value::CreateBooleanValue(enabled_));
+ scoped_ptr<Value> enabled(base::BooleanValue::New(enabled_));
profile_->GetPrefs()->Set(prefs::kRegisteredProtocolHandlers,
*registered_protocol_handlers);
profile_->GetPrefs()->Set(prefs::kIgnoredProtocolHandlers,
@@ -381,7 +381,7 @@ Value* ProtocolHandlerRegistry::EncodeRegisteredHandlers() {
j != i->second.end(); ++j) {
DictionaryValue* encoded = j->Encode();
if (IsDefault(*j)) {
- encoded->Set("default", Value::CreateBooleanValue(true));
+ encoded->Set("default", base::TrueValue());
}
protocol_handlers->Append(encoded);
}

Powered by Google App Engine
This is Rietveld 408576698