OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/common/extension.h" | 5 #include "extensions/common/extension.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <utility> | 10 #include <utility> |
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 InstalledExtensionInfo::InstalledExtensionInfo( | 761 InstalledExtensionInfo::InstalledExtensionInfo( |
762 const Extension* extension, | 762 const Extension* extension, |
763 bool is_update, | 763 bool is_update, |
764 bool from_ephemeral, | 764 bool from_ephemeral, |
765 const std::string& old_name) | 765 const std::string& old_name) |
766 : extension(extension), | 766 : extension(extension), |
767 is_update(is_update), | 767 is_update(is_update), |
768 from_ephemeral(from_ephemeral), | 768 from_ephemeral(from_ephemeral), |
769 old_name(old_name) {} | 769 old_name(old_name) {} |
770 | 770 |
771 UnloadedExtensionInfo::UnloadedExtensionInfo( | |
772 const Extension* extension, | |
773 UnloadedExtensionInfo::Reason reason) | |
774 : reason(reason), | |
775 extension(extension) {} | |
776 | |
777 UpdatedExtensionPermissionsInfo::UpdatedExtensionPermissionsInfo( | 771 UpdatedExtensionPermissionsInfo::UpdatedExtensionPermissionsInfo( |
778 const Extension* extension, | 772 const Extension* extension, |
779 const PermissionSet& permissions, | 773 const PermissionSet& permissions, |
780 Reason reason) | 774 Reason reason) |
781 : reason(reason), extension(extension), permissions(permissions) {} | 775 : reason(reason), extension(extension), permissions(permissions) {} |
782 | 776 |
783 } // namespace extensions | 777 } // namespace extensions |
OLD | NEW |