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

Unified Diff: chrome/browser/content_settings/content_settings_provider_unittest.cc

Issue 106433007: Update some uses of Value in chrome/browser to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years 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/content_settings/content_settings_provider_unittest.cc
diff --git a/chrome/browser/content_settings/content_settings_provider_unittest.cc b/chrome/browser/content_settings/content_settings_provider_unittest.cc
index d3d092c597a846dbaacaae0ada21a477e5982adf..efd82e59b6165075f8bff6efea4240933801b660 100644
--- a/chrome/browser/content_settings/content_settings_provider_unittest.cc
+++ b/chrome/browser/content_settings/content_settings_provider_unittest.cc
@@ -22,14 +22,14 @@ TEST(ContentSettingsProviderTest, Mock) {
pattern,
CONTENT_SETTINGS_TYPE_PLUGINS,
"java_plugin",
- Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
+ base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
EXPECT_EQ(CONTENT_SETTING_BLOCK,
GetContentSetting(&mock_provider, url, url,
CONTENT_SETTINGS_TYPE_PLUGINS, "java_plugin",
false));
- scoped_ptr<Value> value_ptr(
+ scoped_ptr<base::Value> value_ptr(
GetContentSettingValue(&mock_provider, url, url,
CONTENT_SETTINGS_TYPE_PLUGINS,
"java_plugin", false));
@@ -65,7 +65,7 @@ TEST(ContentSettingsProviderTest, Mock) {
pattern,
CONTENT_SETTINGS_TYPE_PLUGINS,
"java_plugin",
- Value::CreateIntegerValue(CONTENT_SETTING_ALLOW));
+ base::Value::CreateIntegerValue(CONTENT_SETTING_ALLOW));
EXPECT_TRUE(owned);
EXPECT_EQ(CONTENT_SETTING_ALLOW,
GetContentSetting(&mock_provider, url, url,
@@ -74,7 +74,7 @@ TEST(ContentSettingsProviderTest, Mock) {
mock_provider.set_read_only(true);
scoped_ptr<base::Value> value(
- Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
+ base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
owned = mock_provider.SetWebsiteSetting(
pattern,
pattern,
@@ -95,7 +95,7 @@ TEST(ContentSettingsProviderTest, Mock) {
pattern,
CONTENT_SETTINGS_TYPE_PLUGINS,
"java_plugin",
- Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
+ base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
EXPECT_TRUE(owned);
EXPECT_EQ(CONTENT_SETTING_BLOCK,
GetContentSetting(&mock_provider, url, url,

Powered by Google App Engine
This is Rietveld 408576698