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

Unified Diff: chrome/browser/extensions/extension_storage_monitor.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/extensions/extension_storage_monitor.cc
diff --git a/chrome/browser/extensions/extension_storage_monitor.cc b/chrome/browser/extensions/extension_storage_monitor.cc
index 238ed9c29d5ee20ee2779011ada042ab5c821853..6c88c23196a0a632cfd26fb00e94ae4f41666107 100644
--- a/chrome/browser/extensions/extension_storage_monitor.cc
+++ b/chrome/browser/extensions/extension_storage_monitor.cc
@@ -607,11 +607,9 @@ void ExtensionStorageMonitor::SetNextStorageThreshold(
const std::string& extension_id,
int64_t next_threshold) {
extension_prefs_->UpdateExtensionPref(
- extension_id,
- kPrefNextStorageThreshold,
- next_threshold > 0
- ? new base::StringValue(base::Int64ToString(next_threshold))
- : NULL);
+ extension_id, kPrefNextStorageThreshold,
+ next_threshold > 0 ? new base::Value(base::Int64ToString(next_threshold))
+ : NULL);
}
int64_t ExtensionStorageMonitor::GetNextStorageThresholdFromPrefs(
« no previous file with comments | « chrome/browser/extensions/extension_service_sync_unittest.cc ('k') | chrome/browser/geolocation/chrome_access_token_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698