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/extension_system.h" | 5 #include "chrome/browser/extensions/extension_system.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 BrowserThread::PostTask( | 449 BrowserThread::PostTask( |
450 BrowserThread::IO, FROM_HERE, | 450 BrowserThread::IO, FROM_HERE, |
451 base::Bind(&ExtensionInfoMap::AddExtension, info_map(), | 451 base::Bind(&ExtensionInfoMap::AddExtension, info_map(), |
452 make_scoped_refptr(extension), install_time, | 452 make_scoped_refptr(extension), install_time, |
453 incognito_enabled)); | 453 incognito_enabled)); |
454 } | 454 } |
455 | 455 |
456 void ExtensionSystemImpl::UnregisterExtensionWithRequestContexts( | 456 void ExtensionSystemImpl::UnregisterExtensionWithRequestContexts( |
457 const std::string& extension_id, | 457 const std::string& extension_id, |
458 const extension_misc::UnloadedExtensionReason reason) { | 458 const extension_misc::UnloadedExtensionReason reason) { |
| 459 NOTREACHED(); |
459 BrowserThread::PostTask( | 460 BrowserThread::PostTask( |
460 BrowserThread::IO, FROM_HERE, | 461 BrowserThread::IO, FROM_HERE, |
461 base::Bind(&ExtensionInfoMap::RemoveExtension, info_map(), | 462 base::Bind(&ExtensionInfoMap::RemoveExtension, info_map(), |
462 extension_id, reason)); | 463 extension_id, reason)); |
463 } | 464 } |
464 | 465 |
465 } // namespace extensions | 466 } // namespace extensions |
OLD | NEW |