| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/pending_extension_info.h" | 5 #include "chrome/browser/extensions/pending_extension_info.h" |
| 6 | 6 |
| 7 PendingExtensionInfo::PendingExtensionInfo( | 7 PendingExtensionInfo::PendingExtensionInfo( |
| 8 const std::string& id, |
| 8 const GURL& update_url, | 9 const GURL& update_url, |
| 9 ShouldAllowInstallPredicate should_allow_install, | 10 ShouldAllowInstallPredicate should_allow_install, |
| 10 bool is_from_sync, | 11 bool is_from_sync, |
| 11 bool install_silently, | 12 bool install_silently, |
| 12 Extension::Location install_source) | 13 Extension::Location install_source) |
| 13 : update_url_(update_url), | 14 : id_(id), |
| 15 update_url_(update_url), |
| 14 should_allow_install_(should_allow_install), | 16 should_allow_install_(should_allow_install), |
| 15 is_from_sync_(is_from_sync), | 17 is_from_sync_(is_from_sync), |
| 16 install_silently_(install_silently), | 18 install_silently_(install_silently), |
| 17 install_source_(install_source) {} | 19 install_source_(install_source) {} |
| 18 | 20 |
| 19 PendingExtensionInfo::PendingExtensionInfo() | 21 PendingExtensionInfo::PendingExtensionInfo() |
| 20 : update_url_(), | 22 : id_(""), |
| 23 update_url_(), |
| 21 should_allow_install_(NULL), | 24 should_allow_install_(NULL), |
| 22 is_from_sync_(true), | 25 is_from_sync_(true), |
| 23 install_silently_(false), | 26 install_silently_(false), |
| 24 install_source_(Extension::INVALID) {} | 27 install_source_(Extension::INVALID) {} |
| 28 |
| OLD | NEW |