OLD | NEW |
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 "extensions/browser/state_store.h" | 5 #include "extensions/browser/state_store.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <utility> | 9 #include <utility> |
8 | 10 |
9 #include "base/bind.h" | 11 #include "base/bind.h" |
10 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
11 #include "content/public/browser/browser_context.h" | 13 #include "content/public/browser/browser_context.h" |
12 #include "content/public/browser/notification_service.h" | 14 #include "content/public/browser/notification_service.h" |
13 #include "content/public/browser/notification_types.h" | 15 #include "content/public/browser/notification_types.h" |
14 #include "extensions/browser/extension_registry.h" | 16 #include "extensions/browser/extension_registry.h" |
15 #include "extensions/common/extension.h" | 17 #include "extensions/common/extension.h" |
16 | 18 |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 for (std::set<std::string>::iterator key = registered_keys_.begin(); | 189 for (std::set<std::string>::iterator key = registered_keys_.begin(); |
188 key != registered_keys_.end(); | 190 key != registered_keys_.end(); |
189 ++key) { | 191 ++key) { |
190 task_queue_->InvokeWhenReady(base::Bind(&ValueStoreFrontend::Remove, | 192 task_queue_->InvokeWhenReady(base::Bind(&ValueStoreFrontend::Remove, |
191 base::Unretained(&store_), | 193 base::Unretained(&store_), |
192 GetFullKey(extension_id, *key))); | 194 GetFullKey(extension_id, *key))); |
193 } | 195 } |
194 } | 196 } |
195 | 197 |
196 } // namespace extensions | 198 } // namespace extensions |
OLD | NEW |