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

Unified Diff: chrome/browser/ui/app_list/search/webstore/webstore_result.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: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/app_list/search/webstore/webstore_result.cc
diff --git a/chrome/browser/ui/app_list/search/webstore/webstore_result.cc b/chrome/browser/ui/app_list/search/webstore/webstore_result.cc
index fdcc4481ff801241321a3e903633c690db07caf9..a698e220777eeed80a50e0b332091998e7d90aa9 100644
--- a/chrome/browser/ui/app_list/search/webstore/webstore_result.cc
+++ b/chrome/browser/ui/app_list/search/webstore/webstore_result.cc
@@ -224,9 +224,6 @@ void WebstoreResult::StopObservingInstall() {
install_tracker_ = NULL;
}
-void WebstoreResult::OnBeginExtensionInstall(
- const ExtensionInstallParams& params) {}
-
void WebstoreResult::OnDownloadProgress(const std::string& extension_id,
int percent_downloaded) {
if (extension_id != app_id_ || percent_downloaded < 0)
@@ -235,8 +232,6 @@ void WebstoreResult::OnDownloadProgress(const std::string& extension_id,
SetPercentDownloaded(percent_downloaded);
}
-void WebstoreResult::OnInstallFailure(const std::string& extension_id) {}
-
void WebstoreResult::OnExtensionInstalled(
const extensions::Extension* extension) {
if (extension->id() != app_id_)
@@ -247,19 +242,6 @@ void WebstoreResult::OnExtensionInstalled(
NotifyItemInstalled();
}
-void WebstoreResult::OnExtensionLoaded(
- const extensions::Extension* extension) {}
-
-void WebstoreResult::OnExtensionUnloaded(
- const extensions::Extension* extension) {}
-
-void WebstoreResult::OnExtensionUninstalled(
- const extensions::Extension* extension) {}
-
-void WebstoreResult::OnAppsReordered() {}
-
-void WebstoreResult::OnAppInstalledToAppList(const std::string& extension_id) {}
-
void WebstoreResult::OnShutdown() {
StopObservingInstall();
}

Powered by Google App Engine
This is Rietveld 408576698