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

Unified Diff: components/policy/core/browser/android/policy_converter.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: components/policy/core/browser/android/policy_converter.cc
diff --git a/components/policy/core/browser/android/policy_converter.cc b/components/policy/core/browser/android/policy_converter.cc
index ef46e598812b427665d3c399f1e090e05411c548..9460fa22cd99620fd85496f2ffc50363d9030fc4 100644
--- a/components/policy/core/browser/android/policy_converter.cc
+++ b/components/policy/core/browser/android/policy_converter.cc
@@ -74,7 +74,7 @@ void PolicyConverter::SetPolicyString(JNIEnv* env,
const JavaRef<jstring>& value) {
SetPolicyValue(
ConvertJavaStringToUTF8(env, policyKey),
- base::MakeUnique<base::StringValue>(ConvertJavaStringToUTF8(env, value)));
+ base::MakeUnique<base::Value>(ConvertJavaStringToUTF8(env, value)));
}
void PolicyConverter::SetPolicyStringArray(JNIEnv* env,

Powered by Google App Engine
This is Rietveld 408576698