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

Unified Diff: content/renderer/manifest/manifest_manager.h

Issue 2064943002: Pass in extra parameters to WebApkBuilder#buildWebApkAsync() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into webapk_manifest000 Created 4 years, 6 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
« no previous file with comments | « content/renderer/devtools/devtools_agent.cc ('k') | content/renderer/manifest/manifest_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/manifest/manifest_manager.h
diff --git a/content/renderer/manifest/manifest_manager.h b/content/renderer/manifest/manifest_manager.h
index 554617cdcbea098623ed78a86be8d3704bd8df4b..2c62a9ea2f298732b38f554187c38040031c4957 100644
--- a/content/renderer/manifest/manifest_manager.h
+++ b/content/renderer/manifest/manifest_manager.h
@@ -32,7 +32,8 @@ class ManifestFetcher;
// GetManifest().
class ManifestManager : public RenderFrameObserver {
public:
- typedef base::Callback<void(const Manifest&,
+ typedef base::Callback<void(const GURL&,
+ const Manifest&,
const ManifestDebugInfo&)> GetManifestCallback;
explicit ManifestManager(RenderFrame* render_frame);
@@ -62,6 +63,7 @@ class ManifestManager : public RenderFrameObserver {
void OnHasManifest(int request_id);
void OnRequestManifest(int request_id);
void OnRequestManifestComplete(int request_id,
+ const GURL&,
const Manifest&,
const ManifestDebugInfo&);
@@ -85,6 +87,9 @@ class ManifestManager : public RenderFrameObserver {
// Current Manifest. Might be outdated if manifest_dirty_ is true.
Manifest manifest_;
+ // The URL of the current manifest.
+ GURL manifest_url_;
+
// Current Manifest debug information.
ManifestDebugInfo manifest_debug_info_;
« no previous file with comments | « content/renderer/devtools/devtools_agent.cc ('k') | content/renderer/manifest/manifest_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698