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 "chrome/browser/extensions/shared_module_service.h" | 5 #include "chrome/browser/extensions/shared_module_service.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "base/bind.h" |
| 11 #include "base/bind_helpers.h" |
10 #include "base/version.h" | 12 #include "base/version.h" |
11 #include "chrome/browser/extensions/extension_service.h" | 13 #include "chrome/browser/extensions/extension_service.h" |
12 #include "chrome/browser/extensions/pending_extension_manager.h" | 14 #include "chrome/browser/extensions/pending_extension_manager.h" |
13 #include "extensions/browser/extension_registry.h" | 15 #include "extensions/browser/extension_registry.h" |
14 #include "extensions/browser/extension_system.h" | 16 #include "extensions/browser/extension_system.h" |
15 #include "extensions/browser/uninstall_reason.h" | 17 #include "extensions/browser/uninstall_reason.h" |
16 #include "extensions/common/extension.h" | 18 #include "extensions/common/extension.h" |
17 #include "extensions/common/extension_urls.h" | 19 #include "extensions/common/extension_urls.h" |
18 | 20 |
19 namespace extensions { | 21 namespace extensions { |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 } | 184 } |
183 | 185 |
184 void SharedModuleService::OnExtensionUninstalled( | 186 void SharedModuleService::OnExtensionUninstalled( |
185 content::BrowserContext* browser_context, | 187 content::BrowserContext* browser_context, |
186 const Extension* extension, | 188 const Extension* extension, |
187 extensions::UninstallReason reason) { | 189 extensions::UninstallReason reason) { |
188 PruneSharedModules(); | 190 PruneSharedModules(); |
189 } | 191 } |
190 | 192 |
191 } // namespace extensions | 193 } // namespace extensions |
OLD | NEW |