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

Unified Diff: components/safe_browsing/renderer/phishing_classifier_delegate.cc

Issue 2667343006: Componentize safe_browsing [X+1] : move the renderer part to component.
Patch Set: Created 3 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
Index: components/safe_browsing/renderer/phishing_classifier_delegate.cc
diff --git a/chrome/renderer/safe_browsing/phishing_classifier_delegate.cc b/components/safe_browsing/renderer/phishing_classifier_delegate.cc
similarity index 97%
rename from chrome/renderer/safe_browsing/phishing_classifier_delegate.cc
rename to components/safe_browsing/renderer/phishing_classifier_delegate.cc
index 704ff2e503ae919c51144ad9af151907454cef30..d0e6454123bf2d1471b2c2db24dd3909c6ba937e 100644
--- a/chrome/renderer/safe_browsing/phishing_classifier_delegate.cc
+++ b/components/safe_browsing/renderer/phishing_classifier_delegate.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/renderer/safe_browsing/phishing_classifier_delegate.h"
+#include "components/safe_browsing/renderer/phishing_classifier_delegate.h"
#include <memory>
#include <set>
@@ -12,11 +12,12 @@
#include "base/lazy_instance.h"
#include "base/logging.h"
#include "base/metrics/histogram_macros.h"
+// TODO(timvolodine): move proto to components
#include "chrome/common/safe_browsing/csd.pb.h"
-#include "chrome/renderer/safe_browsing/feature_extractor_clock.h"
-#include "chrome/renderer/safe_browsing/phishing_classifier.h"
-#include "chrome/renderer/safe_browsing/scorer.h"
#include "components/safe_browsing/common/safebrowsing_messages.h"
+#include "components/safe_browsing/renderer/feature_extractor_clock.h"
+#include "components/safe_browsing/renderer/phishing_classifier.h"
+#include "components/safe_browsing/renderer/scorer.h"
#include "content/public/renderer/document_state.h"
#include "content/public/renderer/navigation_state.h"
#include "content/public/renderer/render_frame.h"

Powered by Google App Engine
This is Rietveld 408576698