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

Unified Diff: chrome/test/data/safe_browsing/download_protection/navigation_observer/landing.html

Issue 2538483002: Add management related code to SafeBrowsingNavigationObserverManager (Closed)
Patch Set: address nits Created 4 years 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/test/data/safe_browsing/download_protection/navigation_observer/landing.html
diff --git a/chrome/test/data/safe_browsing/download_protection/navigation_observer/landing.html b/chrome/test/data/safe_browsing/download_protection/navigation_observer/landing.html
new file mode 100644
index 0000000000000000000000000000000000000000..f4bd7d507cdc137e88b4965b74fde9defdcf980b
--- /dev/null
+++ b/chrome/test/data/safe_browsing/download_protection/navigation_observer/landing.html
@@ -0,0 +1,19 @@
+<html>
+ <head>
+ <script>
+ // Click on a link by id to start a test case.
+ function clickLink(linkId) {
+ var node = document.getElementById(linkId);
+ if (node != null) {
+ // Click and open link in the same tab.
+ node.click();
+ }
+ }
+ </script>
+ </head>
+ <body>
+ <a id="download_on_landing_page" href="../signed.exe">
+ Direct download from landing page
+ </a><br>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698