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

Unified Diff: chrome/browser/plugin_finder_unittest.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/plugin_finder.cc ('k') | chrome/browser/policy/configuration_policy_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_finder_unittest.cc
diff --git a/chrome/browser/plugin_finder_unittest.cc b/chrome/browser/plugin_finder_unittest.cc
index bbafbc5715307f49a64f384b143e3bbbda10c097..8d3d46b8b1e09aeba75750d8db3c979102bf78fb 100644
--- a/chrome/browser/plugin_finder_unittest.cc
+++ b/chrome/browser/plugin_finder_unittest.cc
@@ -33,13 +33,13 @@ TEST(PluginFinderTest, JsonSyntax) {
EXPECT_TRUE(plugin->GetBoolean("displayurl", &dummy_bool));
if (plugin->HasKey("requires_authorization"))
EXPECT_TRUE(plugin->GetBoolean("requires_authorization", &dummy_bool));
- ListValue* mime_types = NULL;
+ const ListValue* mime_types = NULL;
ASSERT_TRUE(plugin->GetList("mime_types", &mime_types));
for (ListValue::const_iterator mime_type_it = mime_types->begin();
mime_type_it != mime_types->end(); ++mime_type_it) {
EXPECT_TRUE((*mime_type_it)->GetAsString(&dummy_str));
}
- ListValue* versions = NULL;
+ const ListValue* versions = NULL;
if (!plugin->GetList("versions", &versions))
continue;
« no previous file with comments | « chrome/browser/plugin_finder.cc ('k') | chrome/browser/policy/configuration_policy_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698