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

Unified Diff: chrome/browser/chromeos/settings/device_oauth2_token_service_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/chromeos/settings/device_oauth2_token_service_unittest.cc
diff --git a/chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc b/chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc
index e2a6a7f2c76ac8eee7ff3a5e5bb37a3e65536d75..b1fc1c194b098da6988411483ccc71e50a8b42ec 100644
--- a/chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc
+++ b/chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc
@@ -142,8 +142,7 @@ class DeviceOAuth2TokenServiceTest : public testing::Test {
// (it must have a non-empty value or it won't be used).
void SetDeviceRefreshTokenInLocalState(const std::string& refresh_token) {
scoped_testing_local_state_.Get()->SetUserPref(
- prefs::kDeviceRobotAnyApiRefreshToken,
- new base::StringValue(refresh_token));
+ prefs::kDeviceRobotAnyApiRefreshToken, new base::Value(refresh_token));
}
std::string GetValidTokenInfoResponse(const std::string& email) {

Powered by Google App Engine
This is Rietveld 408576698