| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/api/storage/weak_unlimited_settings_storage.
h" | 5 #include "extensions/browser/api/storage/weak_unlimited_settings_storage.h" |
| 6 | 6 |
| 7 namespace extensions { | 7 namespace extensions { |
| 8 | 8 |
| 9 WeakUnlimitedSettingsStorage::WeakUnlimitedSettingsStorage( | 9 WeakUnlimitedSettingsStorage::WeakUnlimitedSettingsStorage( |
| 10 ValueStore* delegate) | 10 ValueStore* delegate) |
| 11 : delegate_(delegate) {} | 11 : delegate_(delegate) {} |
| 12 | 12 |
| 13 WeakUnlimitedSettingsStorage::~WeakUnlimitedSettingsStorage() {} | 13 WeakUnlimitedSettingsStorage::~WeakUnlimitedSettingsStorage() {} |
| 14 | 14 |
| 15 size_t WeakUnlimitedSettingsStorage::GetBytesInUse(const std::string& key) { | 15 size_t WeakUnlimitedSettingsStorage::GetBytesInUse(const std::string& key) { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 return delegate_->Clear(); | 64 return delegate_->Clear(); |
| 65 } | 65 } |
| 66 | 66 |
| 67 bool WeakUnlimitedSettingsStorage::Restore() { return delegate_->Restore(); } | 67 bool WeakUnlimitedSettingsStorage::Restore() { return delegate_->Restore(); } |
| 68 | 68 |
| 69 bool WeakUnlimitedSettingsStorage::RestoreKey(const std::string& key) { | 69 bool WeakUnlimitedSettingsStorage::RestoreKey(const std::string& key) { |
| 70 return delegate_->RestoreKey(key); | 70 return delegate_->RestoreKey(key); |
| 71 } | 71 } |
| 72 | 72 |
| 73 } // namespace extensions | 73 } // namespace extensions |
| OLD | NEW |