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/pending_extension_info.h" | 5 #include "chrome/browser/extensions/pending_extension_info.h" |
6 | 6 |
7 PendingExtensionInfo::PendingExtensionInfo( | 7 PendingExtensionInfo::PendingExtensionInfo( |
8 const GURL& update_url, | 8 const GURL& update_url, |
9 const Version& version, | 9 const Version& version, |
10 ShouldAllowInstallPredicate should_allow_install, | 10 ShouldAllowInstallPredicate should_allow_install, |
11 bool is_from_sync, | 11 bool is_from_sync, |
12 bool install_silently, | 12 bool install_silently, |
13 Extension::Location install_source) | 13 extensions::Extension::Location install_source) |
14 : update_url_(update_url), | 14 : update_url_(update_url), |
15 version_(version), | 15 version_(version), |
16 should_allow_install_(should_allow_install), | 16 should_allow_install_(should_allow_install), |
17 is_from_sync_(is_from_sync), | 17 is_from_sync_(is_from_sync), |
18 install_silently_(install_silently), | 18 install_silently_(install_silently), |
19 install_source_(install_source) {} | 19 install_source_(install_source) {} |
20 | 20 |
21 PendingExtensionInfo::PendingExtensionInfo() | 21 PendingExtensionInfo::PendingExtensionInfo() |
22 : update_url_(), | 22 : update_url_(), |
23 should_allow_install_(NULL), | 23 should_allow_install_(NULL), |
24 is_from_sync_(true), | 24 is_from_sync_(true), |
25 install_silently_(false), | 25 install_silently_(false), |
26 install_source_(Extension::INVALID) {} | 26 install_source_(extensions::Extension::INVALID) {} |
OLD | NEW |