Chromium Code Reviews| 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" | |
|
Devlin
2015/01/08 16:43:49
Since you're adding this one, wanna go ahead and i
Daniel Bratell
2015/01/08 16:54:50
Done.
| |
| 10 #include "base/version.h" | 11 #include "base/version.h" |
| 11 #include "chrome/browser/extensions/extension_service.h" | 12 #include "chrome/browser/extensions/extension_service.h" |
| 12 #include "chrome/browser/extensions/pending_extension_manager.h" | 13 #include "chrome/browser/extensions/pending_extension_manager.h" |
| 13 #include "extensions/browser/extension_registry.h" | 14 #include "extensions/browser/extension_registry.h" |
| 14 #include "extensions/browser/extension_system.h" | 15 #include "extensions/browser/extension_system.h" |
| 15 #include "extensions/browser/uninstall_reason.h" | 16 #include "extensions/browser/uninstall_reason.h" |
| 16 #include "extensions/common/extension.h" | 17 #include "extensions/common/extension.h" |
| 17 #include "extensions/common/extension_urls.h" | 18 #include "extensions/common/extension_urls.h" |
| 18 | 19 |
| 19 namespace extensions { | 20 namespace extensions { |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 182 } | 183 } |
| 183 | 184 |
| 184 void SharedModuleService::OnExtensionUninstalled( | 185 void SharedModuleService::OnExtensionUninstalled( |
| 185 content::BrowserContext* browser_context, | 186 content::BrowserContext* browser_context, |
| 186 const Extension* extension, | 187 const Extension* extension, |
| 187 extensions::UninstallReason reason) { | 188 extensions::UninstallReason reason) { |
| 188 PruneSharedModules(); | 189 PruneSharedModules(); |
| 189 } | 190 } |
| 190 | 191 |
| 191 } // namespace extensions | 192 } // namespace extensions |
| OLD | NEW |