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

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

Issue 10834004: Correct const accessors in base/values.(h|cc) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Reverting webdriver:Command::parameters_ to const Created 8 years, 5 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 | « chrome/browser/extensions/extension_service_unittest.cc ('k') | chrome/browser/extensions/menu_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_web_ui.cc
diff --git a/chrome/browser/extensions/extension_web_ui.cc b/chrome/browser/extensions/extension_web_ui.cc
index 57b0e5fa37dc3c5ccf2ddb481ba78a633492ca42..ad4233bf02797c8a1e29b9eb6d768aca35f5f151 100644
--- a/chrome/browser/extensions/extension_web_ui.cc
+++ b/chrome/browser/extensions/extension_web_ui.cc
@@ -224,7 +224,7 @@ bool ExtensionWebUI::HandleChromeURLOverride(
const DictionaryValue* overrides =
profile->GetPrefs()->GetDictionary(kExtensionURLOverrides);
std::string page = url->host();
- ListValue* url_list;
+ const ListValue* url_list;
if (!overrides || !overrides->GetList(page, &url_list))
return false;
@@ -297,7 +297,7 @@ bool ExtensionWebUI::HandleChromeURLOverrideReverse(
// chrome://bookmarks/#1 for display in the omnibox.
for (DictionaryValue::key_iterator it = overrides->begin_keys(),
end = overrides->end_keys(); it != end; ++it) {
- ListValue* url_list;
+ const ListValue* url_list;
if (!overrides->GetList(*it, &url_list))
continue;
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | chrome/browser/extensions/menu_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698