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

Unified Diff: chrome/common/safe_browsing.mojom

Issue 2936773002: Move safe_browsing.mojom into components/safe_browsing. (Closed)
Patch Set: merge Created 3 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 | « chrome/common/BUILD.gn ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/safe_browsing.mojom
diff --git a/chrome/common/safe_browsing.mojom b/chrome/common/safe_browsing.mojom
deleted file mode 100644
index 07253a331bc34522d6fbe41014b521a06ef9a452..0000000000000000000000000000000000000000
--- a/chrome/common/safe_browsing.mojom
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module chrome.mojom;
-
-import "content/public/common/resource_type.mojom";
-import "url/mojo/url.mojom";
-
-interface SafeBrowsing {
- // Queries SafeBrowsing whether |url| is safe to load, and creates a
- // SafeBrowsingUrlChecker interface.
- // This checker interface should be used (and only used) for subsequent checks
- // of redirects, so that the server side could keep track of the redirect
- // chain. Disconnecting the checker interface cancels on-going URL checks.
- // Please note that in that case if the check started by this method hasn't
- // completed yet, it will also be canceled and return true as if the URL is
- // safe.
- // The check and (subsequent checks performed using SafeBrowsingUrlChecker)
- // checks against SafeBrowsing's Malware, Phishing, and UwS blacklists.
- CreateCheckerAndCheck(
- int32 render_frame_id,
- SafeBrowsingUrlChecker& request,
- url.mojom.Url url,
- int32 load_flags,
- content.mojom.ResourceType resource_type) => (bool safe);
-};
-
-interface SafeBrowsingUrlChecker {
- CheckUrl(url.mojom.Url url) => (bool safe);
-};
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698