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

Unified Diff: chrome/renderer/safe_browsing/safe_browsing_url_loader_throttle.h

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
Index: chrome/renderer/safe_browsing/safe_browsing_url_loader_throttle.h
diff --git a/chrome/renderer/safe_browsing/safe_browsing_url_loader_throttle.h b/chrome/renderer/safe_browsing/safe_browsing_url_loader_throttle.h
index aea48f73f172faf6f2f7374acefd4301d7d10c72..3cd284ad0bc7000d795db07b153d9052d4592ae2 100644
--- a/chrome/renderer/safe_browsing/safe_browsing_url_loader_throttle.h
+++ b/chrome/renderer/safe_browsing/safe_browsing_url_loader_throttle.h
@@ -6,7 +6,7 @@
#define CHROME_RENDERER_SAFE_BROWSING_SAFE_BROWSING_URL_LOADER_THROTTLE_H_
#include "base/memory/weak_ptr.h"
-#include "chrome/common/safe_browsing.mojom.h"
+#include "components/safe_browsing/common/safe_browsing.mojom.h"
#include "content/public/common/url_loader_throttle.h"
namespace chrome {
@@ -26,7 +26,7 @@ class SafeBrowsingURLLoaderThrottle : public content::URLLoaderThrottle {
// |safe_browsing| must stay alive until WillStartRequest() (if it is called)
// or the end of this object.
// |render_frame_id| is used for displaying SafeBrowsing UI when necessary.
- SafeBrowsingURLLoaderThrottle(chrome::mojom::SafeBrowsing* safe_browsing,
+ SafeBrowsingURLLoaderThrottle(mojom::SafeBrowsing* safe_browsing,
int render_frame_id);
~SafeBrowsingURLLoaderThrottle() override;
@@ -44,10 +44,10 @@ class SafeBrowsingURLLoaderThrottle : public content::URLLoaderThrottle {
void OnConnectionError();
- chrome::mojom::SafeBrowsing* safe_browsing_;
+ mojom::SafeBrowsing* safe_browsing_;
const int render_frame_id_;
- chrome::mojom::SafeBrowsingUrlCheckerPtr url_checker_;
+ mojom::SafeBrowsingUrlCheckerPtr url_checker_;
size_t pending_checks_ = 0;
bool blocked_ = false;
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.h ('k') | chrome/renderer/safe_browsing/safe_browsing_url_loader_throttle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698