| 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/settings/settings_frontend.h" | 5 #include "chrome/browser/extensions/settings/settings_frontend.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 CacheMap::iterator it = caches_.find(settings_namespace); | 209 CacheMap::iterator it = caches_.find(settings_namespace); |
| 210 if (it != caches_.end()) { | 210 if (it != caches_.end()) { |
| 211 ValueStoreCache* cache = it->second; | 211 ValueStoreCache* cache = it->second; |
| 212 cache->ShutdownOnUI(); | 212 cache->ShutdownOnUI(); |
| 213 BrowserThread::DeleteSoon(BrowserThread::FILE, FROM_HERE, cache); | 213 BrowserThread::DeleteSoon(BrowserThread::FILE, FROM_HERE, cache); |
| 214 caches_.erase(it); | 214 caches_.erase(it); |
| 215 } | 215 } |
| 216 } | 216 } |
| 217 | 217 |
| 218 } // namespace extensions | 218 } // namespace extensions |
| OLD | NEW |