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

Unified Diff: chrome/browser/managed_mode/managed_mode_browsertest.cc

Issue 104493005: 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/managed_mode/managed_mode_browsertest.cc
diff --git a/chrome/browser/managed_mode/managed_mode_browsertest.cc b/chrome/browser/managed_mode/managed_mode_browsertest.cc
index 631accea429a7062e4c6892e2004915604125eaa..a7f02e347a2baee254ccffae5d9766cdb4d97530 100644
--- a/chrome/browser/managed_mode/managed_mode_browsertest.cc
+++ b/chrome/browser/managed_mode/managed_mode_browsertest.cc
@@ -182,13 +182,14 @@ IN_PROC_BROWSER_TEST_F(ManagedModeBlockModeTest,
GURL allowed_url("http://www.example.com/files/simple.html");
// Set the host as allowed.
- scoped_ptr<DictionaryValue> dict(new DictionaryValue);
+ scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue);
dict->SetBooleanWithoutPathExpansion(allowed_url.host(), true);
ManagedUserSettingsService* managed_user_settings_service =
ManagedUserSettingsServiceFactory::GetForProfile(
browser()->profile());
managed_user_settings_service->SetLocalSettingForTesting(
- managed_users::kContentPackManualBehaviorHosts, dict.PassAs<Value>());
+ managed_users::kContentPackManualBehaviorHosts,
+ dict.PassAs<base::Value>());
EXPECT_EQ(
ManagedUserService::MANUAL_ALLOW,
managed_user_service_->GetManualBehaviorForHost(allowed_url.host()));
@@ -246,13 +247,14 @@ IN_PROC_BROWSER_TEST_F(ManagedModeBlockModeTest, Unblock) {
content::NotificationService::AllSources());
// Set the host as allowed.
- scoped_ptr<DictionaryValue> dict(new DictionaryValue);
+ scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue);
dict->SetBooleanWithoutPathExpansion(test_url.host(), true);
ManagedUserSettingsService* managed_user_settings_service =
ManagedUserSettingsServiceFactory::GetForProfile(
browser()->profile());
managed_user_settings_service->SetLocalSettingForTesting(
- managed_users::kContentPackManualBehaviorHosts, dict.PassAs<Value>());
+ managed_users::kContentPackManualBehaviorHosts,
+ dict.PassAs<base::Value>());
EXPECT_EQ(
ManagedUserService::MANUAL_ALLOW,
managed_user_service_->GetManualBehaviorForHost(test_url.host()));

Powered by Google App Engine
This is Rietveld 408576698