OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "chrome/browser/extensions/install_observer.h" | 5 #include "chrome/browser/extensions/install_observer.h" |
6 | 6 |
7 namespace extensions { | 7 namespace extensions { |
8 | 8 |
9 InstallObserver::ExtensionInstallParams::ExtensionInstallParams( | 9 InstallObserver::ExtensionInstallParams::ExtensionInstallParams( |
10 std::string extension_id, | 10 std::string extension_id, |
11 std::string extension_name, | 11 std::string extension_name, |
12 gfx::ImageSkia installing_icon, | 12 gfx::ImageSkia installing_icon, |
13 bool is_app, | 13 bool is_app, |
14 bool is_platform_app) | 14 bool is_platform_app) |
15 : extension_id(extension_id), | 15 : extension_id(extension_id), |
16 extension_name(extension_name), | 16 extension_name(extension_name), |
17 installing_icon(installing_icon), | 17 installing_icon(installing_icon), |
18 is_app(is_app), | 18 is_app(is_app), |
19 is_platform_app(is_platform_app), | 19 is_platform_app(is_platform_app), |
20 is_ephemeral(false) {} | 20 is_ephemeral(false) {} |
21 | 21 |
| 22 void InstallObserver::OnBeginExtensionInstall( |
| 23 const ExtensionInstallParams& params) {} |
| 24 void InstallObserver::OnBeginExtensionDownload( |
| 25 const std::string& extension_id) {} |
| 26 void InstallObserver::OnDownloadProgress(const std::string& extension_id, |
| 27 int percent_downloaded) {} |
| 28 void InstallObserver::OnBeginCrxInstall(const std::string& extension_id) {} |
| 29 void InstallObserver::OnInstallFailure(const std::string& extension_id) {} |
| 30 void InstallObserver::OnExtensionInstalled(const Extension* extension) {} |
| 31 void InstallObserver::OnExtensionLoaded(const Extension* extension) {} |
| 32 void InstallObserver::OnExtensionUnloaded(const Extension* extension) {} |
| 33 void InstallObserver::OnExtensionUninstalled(const Extension* extension) {} |
| 34 void InstallObserver::OnAppInstalledToAppList(const std::string& extension_id) { |
| 35 } |
| 36 void InstallObserver::OnAppsReordered() {} |
| 37 void InstallObserver::OnShutdown() {} |
| 38 |
22 } // namespace extensions | 39 } // namespace extensions |
OLD | NEW |