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

Unified Diff: chrome/browser/net/disk_cache_dir_policy_handler_unittest.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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/net/disk_cache_dir_policy_handler_unittest.cc
diff --git a/chrome/browser/net/disk_cache_dir_policy_handler_unittest.cc b/chrome/browser/net/disk_cache_dir_policy_handler_unittest.cc
index c5611bc5542b24381a8ebce87a3829382200c261..59a3027f8b889abaccc194da5db2c52b3d3feedf 100644
--- a/chrome/browser/net/disk_cache_dir_policy_handler_unittest.cc
+++ b/chrome/browser/net/disk_cache_dir_policy_handler_unittest.cc
@@ -41,8 +41,7 @@ TEST_F(DiskCacheDirPolicyTest, SetPolicyValid) {
// Use a variable in the value. It should be expanded by the handler.
const std::string in = "${user_name}/foo";
policy_.Set(key::kDiskCacheDir, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER,
- POLICY_SOURCE_CLOUD, base::MakeUnique<base::StringValue>(in),
- nullptr);
+ POLICY_SOURCE_CLOUD, base::MakeUnique<base::Value>(in), nullptr);
handler_.ApplyPolicySettings(policy_, &prefs_);
const base::Value* value;
« no previous file with comments | « chrome/browser/net/disk_cache_dir_policy_handler.cc ('k') | chrome/browser/notifications/notifier_state_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698