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

Side by Side Diff: chrome/browser/extensions/extension_storage_monitor.cc

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/extension_storage_monitor.h" 5 #include "chrome/browser/extensions/extension_storage_monitor.h"
6 6
7 #include <map> 7 #include <map>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/metrics/histogram_macros.h" 10 #include "base/metrics/histogram_macros.h"
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 644
645 return true; 645 return true;
646 } 646 }
647 647
648 void ExtensionStorageMonitor::SetStorageNotificationEnabled( 648 void ExtensionStorageMonitor::SetStorageNotificationEnabled(
649 const std::string& extension_id, 649 const std::string& extension_id,
650 bool enable_notifications) { 650 bool enable_notifications) {
651 extension_prefs_->UpdateExtensionPref( 651 extension_prefs_->UpdateExtensionPref(
652 extension_id, 652 extension_id,
653 kPrefDisableStorageNotifications, 653 kPrefDisableStorageNotifications,
654 enable_notifications ? NULL : new base::FundamentalValue(true)); 654 enable_notifications ? NULL : new base::Value(true));
655 } 655 }
656 656
657 } // namespace extensions 657 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | chrome/browser/extensions/extension_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698