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

Unified Diff: base/values.cc

Issue 2884933002: Remove raw base::DictionaryValue::SetWithoutPathExpansion (Closed)
Patch Set: Include Created 3 years, 7 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 | « base/values.h ('k') | chromeos/network/onc/onc_translator_shill_to_onc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/values.cc
diff --git a/base/values.cc b/base/values.cc
index 5bed467320afd7af9d944b3d5772cb55c6f4d503..2f293c9e817434894d3f846ec41e92d665c6ae19 100644
--- a/base/values.cc
+++ b/base/values.cc
@@ -677,11 +677,6 @@ Value* DictionaryValue::SetWithoutPathExpansion(
return ((*dict_)[key.as_string()] = std::move(in_value)).get();
}
-Value* DictionaryValue::SetWithoutPathExpansion(StringPiece key,
- Value* in_value) {
- return SetWithoutPathExpansion(key, WrapUnique(in_value));
-}
-
Value* DictionaryValue::SetBooleanWithoutPathExpansion(StringPiece path,
bool in_value) {
return SetWithoutPathExpansion(path, MakeUnique<Value>(in_value));
« no previous file with comments | « base/values.h ('k') | chromeos/network/onc/onc_translator_shill_to_onc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698