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( | 22 void InstallObserver::OnBeginExtensionInstall( |
23 const ExtensionInstallParams& params) {} | 23 const ExtensionInstallParams& params) {} |
24 void InstallObserver::OnBeginExtensionDownload( | |
25 const std::string& extension_id) {} | |
24 void InstallObserver::OnDownloadProgress(const std::string& extension_id, | 26 void InstallObserver::OnDownloadProgress(const std::string& extension_id, |
25 int percent_downloaded) {} | 27 int percent_downloaded) {} |
28 void InstallObserver::OnBeginCrxInstall(const std::string& extension_id) {} | |
26 void InstallObserver::OnInstallFailure(const std::string& extension_id) {} | 29 void InstallObserver::OnInstallFailure(const std::string& extension_id) {} |
27 void InstallObserver::OnExtensionInstalled(const Extension* extension) {} | 30 void InstallObserver::OnExtensionInstalled(const Extension* extension) {} |
28 void InstallObserver::OnExtensionLoaded(const Extension* extension) {} | 31 void InstallObserver::OnExtensionLoaded(const Extension* extension) {} |
29 void InstallObserver::OnExtensionUnloaded(const Extension* extension) {} | 32 void InstallObserver::OnExtensionUnloaded(const Extension* extension) {} |
30 void InstallObserver::OnExtensionUninstalled(const Extension* extension) {} | 33 void InstallObserver::OnExtensionUninstalled(const Extension* extension) {} |
not at google - send to devlin
2014/02/27 21:49:56
as discussed, if you can delete all of these and m
Devlin
2014/02/28 18:04:51
Done.
| |
31 void InstallObserver::OnAppInstalledToAppList(const std::string& extension_id) { | 34 void InstallObserver::OnAppInstalledToAppList(const std::string& extension_id) { |
32 } | 35 } |
33 void InstallObserver::OnAppsReordered() {} | 36 void InstallObserver::OnAppsReordered() {} |
34 void InstallObserver::OnShutdown() {} | 37 void InstallObserver::OnShutdown() {} |
35 | 38 |
36 } // namespace extensions | 39 } // namespace extensions |
OLD | NEW |