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

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

Issue 896823002: [Manifest] Update a RenderFrame's Manifest when navigated. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/manifest/manifest_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/manifest/manifest_manager.cc
diff --git a/content/renderer/manifest/manifest_manager.cc b/content/renderer/manifest/manifest_manager.cc
index 5c620c0d13644ae1d64dd331cf00bf3a295cdce1..a5ee94cf6b59c4d7829d5373c93b434b7f677dcc 100644
--- a/content/renderer/manifest/manifest_manager.cc
+++ b/content/renderer/manifest/manifest_manager.cc
@@ -101,6 +101,11 @@ void ManifestManager::DidChangeManifest() {
manifest_dirty_ = true;
}
+void ManifestManager::DidCommitProvisionalLoad(bool is_new_navigation) {
+ may_have_manifest_ = false;
+ manifest_dirty_ = true;
+}
+
void ManifestManager::FetchManifest() {
GURL url(render_frame()->GetWebFrame()->document().manifestURL());
« no previous file with comments | « content/renderer/manifest/manifest_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698