Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: chrome/browser/extensions/install_observer.cc

Issue 175263003: Add chrome.webstore API methods to allow sites to see progress of installation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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::OnDownloadProgress(const std::string& extension_id,
25 int percent_downloaded) {}
26 void InstallObserver::OnInstallFailure(const std::string& extension_id) {}
27 void InstallObserver::OnExtensionInstalled(const Extension* extension) {}
28 void InstallObserver::OnExtensionLoaded(const Extension* extension) {}
29 void InstallObserver::OnExtensionUnloaded(const Extension* extension) {}
30 void InstallObserver::OnExtensionUninstalled(const Extension* extension) {}
31 void InstallObserver::OnDisabledExtensionUpdated(const Extension* extension) {}
32 void InstallObserver::OnAppInstalledToAppList(const std::string& extension_id) {
33 }
34 void InstallObserver::OnAppsReordered() {}
35 void InstallObserver::OnShutdown() {}
36
37 } // namespace extensions 22 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/install_observer.h ('k') | chrome/browser/extensions/install_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698