Chromium Code Reviews| Index: chrome/browser/android/webapk/webapk_install_service.h |
| diff --git a/chrome/browser/android/webapk/webapk_install_service.h b/chrome/browser/android/webapk/webapk_install_service.h |
| index e22dc9aea4339ce035f0c2e10f3bda3a1b8aec69..f15c05b97972fc0b89dec2cfb3952a3f0e18b7a9 100644 |
| --- a/chrome/browser/android/webapk/webapk_install_service.h |
| +++ b/chrome/browser/android/webapk/webapk_install_service.h |
| @@ -12,6 +12,7 @@ |
| #include "base/callback.h" |
| #include "base/macros.h" |
| #include "base/memory/weak_ptr.h" |
| +#include "chrome/browser/android/webapk/webapk_installer.h" |
| #include "components/keyed_service/core/keyed_service.h" |
| #include "url/gurl.h" |
| @@ -26,11 +27,7 @@ class SkBitmap; |
| // WebAPK on the server, download it, and install it. |
| class WebApkInstallService : public KeyedService { |
| public: |
| - // Called when the creation/updating of a WebAPK is finished or failed. |
| - // Parameters: |
| - // - whether the process succeeds. |
| - // - the package name of the WebAPK. |
| - using FinishCallback = base::Callback<void(bool, const std::string&)>; |
| + using FinishCallback = WebApkInstaller::FinishCallback; |
| static WebApkInstallService* Get(content::BrowserContext* browser_context); |
| @@ -64,7 +61,8 @@ class WebApkInstallService : public KeyedService { |
| void OnFinishedInstall(const GURL& web_manifest_url, |
| const FinishCallback& finish_callback, |
| bool success, |
| - const std::string& webapk_package_name); |
| + const std::string& webapk_package_name, |
| + bool less_updates); |
|
dominickn
2017/02/14 04:13:34
relax_updates
Xi Han
2017/02/14 22:25:47
Done.
|
| content::BrowserContext* browser_context_; |