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

Unified Diff: content/public/browser/navigation_handle.h

Issue 2946113002: Use FrameIsAd to decide whether to isolate a frame in TopDocumentIsolation mode. (Closed)
Patch Set: Addressing 2 more CR comments from csharrison@. 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: content/public/browser/navigation_handle.h
diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h
index 82efc45766e3ceff92b4220e2b604b68a7adda47..65609a70f922198b9211a368888f071dbeb567f8 100644
--- a/content/public/browser/navigation_handle.h
+++ b/content/public/browser/navigation_handle.h
@@ -7,7 +7,9 @@
#include <memory>
#include <string>
+#include <vector>
+#include "base/supports_user_data.h"
#include "content/common/content_export.h"
#include "content/public/browser/navigation_throttle.h"
#include "content/public/browser/reload_type.h"
@@ -38,9 +40,9 @@ class WebContents;
// references to a NavigationHandle at the time of
// WebContentsObserver::DidFinishNavigation, just before the handle is
// destroyed.
-class CONTENT_EXPORT NavigationHandle {
+class CONTENT_EXPORT NavigationHandle : public base::SupportsUserData {
public:
- virtual ~NavigationHandle() {}
+ ~NavigationHandle() override {}
// Parameters available at navigation start time -----------------------------
//

Powered by Google App Engine
This is Rietveld 408576698