| Index: chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
|
| diff --git a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
|
| index f585ed2f5ce311505f4a2167ba5257b9e08434be..96d6ffe99e9354fedbfa491cc46efb813a2fbd29 100644
|
| --- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
|
| +++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
|
| @@ -468,8 +468,10 @@ void CompleteInstallFunction::OnGetAppLauncherEnabled(
|
| bool app_launcher_enabled) {
|
| if (app_launcher_enabled) {
|
| std::string name;
|
| - DCHECK(approval_->parsed_manifest->GetString(extension_manifest_keys::kName,
|
| - &name));
|
| + if (!approval_->parsed_manifest->GetString(extension_manifest_keys::kName,
|
| + &name)) {
|
| + NOTREACHED();
|
| + }
|
| // Tell the app list about the install that we just started.
|
| chrome::NotifyAppListOfBeginExtensionInstall(
|
| profile(), id, name, approval_->installing_icon);
|
| @@ -511,6 +513,12 @@ void CompleteInstallFunction::OnExtensionInstallFailure(
|
| Release();
|
| }
|
|
|
| +void CompleteInstallFunction::OnExtensionDownloadProgress(
|
| + const std::string& id,
|
| + content::DownloadItem* item) {
|
| + chrome::NotifyAppListOfDownloadProgress(profile(), id,
|
| + item->PercentComplete());
|
| +}
|
|
|
| bool GetBrowserLoginFunction::RunImpl() {
|
| SetResult(CreateLoginResult(profile_->GetOriginalProfile()));
|
|
|