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

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

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.cc
diff --git a/chrome/browser/android/webapk/webapk_install_service.cc b/chrome/browser/android/webapk/webapk_install_service.cc
index 22dcbbeae941236cd6b8c7688427a80f1e0b2501..8c0ecec2bffb7ba8f4a9f007ce767b2fd70c257a 100644
--- a/chrome/browser/android/webapk/webapk_install_service.cc
+++ b/chrome/browser/android/webapk/webapk_install_service.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/android/webapk/webapk_install_service.h"
#include "base/bind.h"
+#include "base/files/file_path.h"
#include "chrome/browser/android/shortcut_info.h"
#include "chrome/browser/android/webapk/webapk_install_service_factory.h"
#include "chrome/browser/android/webapk/webapk_installer.h"
@@ -42,13 +43,9 @@ void WebApkInstallService::InstallAsync(const ShortcutInfo& shortcut_info,
}
void WebApkInstallService::UpdateAsync(
- const std::string& webapk_package,
- const GURL& start_url,
- const base::string16& short_name,
- std::unique_ptr<std::vector<uint8_t>> serialized_proto,
+ const base::FilePath& update_request_file,
const FinishCallback& finish_callback) {
- WebApkInstaller::UpdateAsync(browser_context_, webapk_package, start_url,
- short_name, std::move(serialized_proto),
+ WebApkInstaller::UpdateAsync(browser_context_, update_request_file,
finish_callback);
}
« no previous file with comments | « chrome/browser/android/webapk/webapk_install_service.h ('k') | chrome/browser/android/webapk/webapk_installer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698