| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/common/extensions/extension.h" | 5 #include "chrome/common/extensions/extension.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "base/base64.h" | 10 #include "base/base64.h" |
| (...skipping 2241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2252 ExtensionInfo::~ExtensionInfo() {} | 2252 ExtensionInfo::~ExtensionInfo() {} |
| 2253 | 2253 |
| 2254 UninstalledExtensionInfo::UninstalledExtensionInfo( | 2254 UninstalledExtensionInfo::UninstalledExtensionInfo( |
| 2255 const Extension& extension) | 2255 const Extension& extension) |
| 2256 : extension_id(extension.id()), | 2256 : extension_id(extension.id()), |
| 2257 extension_api_permissions(extension.api_permissions()), | 2257 extension_api_permissions(extension.api_permissions()), |
| 2258 extension_type(extension.GetType()), | 2258 extension_type(extension.GetType()), |
| 2259 update_url(extension.update_url()) {} | 2259 update_url(extension.update_url()) {} |
| 2260 | 2260 |
| 2261 UninstalledExtensionInfo::~UninstalledExtensionInfo() {} | 2261 UninstalledExtensionInfo::~UninstalledExtensionInfo() {} |
| 2262 |
| 2263 |
| 2264 UnloadedExtensionInfo::UnloadedExtensionInfo( |
| 2265 const Extension* extension, |
| 2266 Reason reason) |
| 2267 : reason(reason), |
| 2268 already_disabled(false), |
| 2269 extension(extension) {} |
| OLD | NEW |