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

Unified Diff: chrome/browser/android/webapk/webapk_install_service.h

Issue 2943913002: [Android WebAPK] Make webapk_installer.cc return proto as base64 string
Patch Set: Merge branch 'master' into background_updates00 Created 3 years, 5 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/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 6134f08b2131d037a77439960e1322cddb543b2d..a478c211afc45e8a99dbab4f5c14a6328593a7d2 100644
--- a/chrome/browser/android/webapk/webapk_install_service.h
+++ b/chrome/browser/android/webapk/webapk_install_service.h
@@ -18,6 +18,10 @@
#include "components/keyed_service/core/keyed_service.h"
#include "url/gurl.h"
+namespace base {
+class FilePath;
+}
+
namespace content {
class BrowserContext;
}
@@ -66,12 +70,10 @@ class WebApkInstallService : public KeyedService {
const FinishCallback& finish_callback);
// Talks to the Chrome WebAPK server to update a WebAPK on the server and to
- // the Google Play server to install the downloaded WebAPK. Calls
- // |finish_callback| once the update completed or failed.
- void UpdateAsync(const std::string& webapk_package,
- const GURL& start_url,
- const base::string16& short_name,
- std::unique_ptr<std::vector<uint8_t>> serialized_proto,
+ // the Google Play server to install the downloaded WebAPK.
+ // |update_request_file_path| is the path of the file with the update request.
+ // Calls |finish_callback| once the update completed or failed.
+ void UpdateAsync(const base::FilePath& update_request_file,
const FinishCallback& finish_callback);
private:

Powered by Google App Engine
This is Rietveld 408576698