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

Unified Diff: components/safe_browsing/renderer/scorer.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
« no previous file with comments | « components/safe_browsing/renderer/scorer.h ('k') | components/safe_browsing/renderer/scorer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_browsing/renderer/scorer.cc
diff --git a/chrome/renderer/safe_browsing/scorer.cc b/components/safe_browsing/renderer/scorer.cc
similarity index 96%
rename from chrome/renderer/safe_browsing/scorer.cc
rename to components/safe_browsing/renderer/scorer.cc
index fc03badcc6f5844f6a4f5d75f3d90d5bdded4130..b33a4894df88f8ca3a1bed11968e00f093b32c04 100644
--- a/chrome/renderer/safe_browsing/scorer.cc
+++ b/components/safe_browsing/renderer/scorer.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/scorer.h"
+#include "components/safe_browsing/renderer/scorer.h"
#include <math.h>
@@ -11,8 +11,9 @@
#include "base/logging.h"
#include "base/metrics/histogram_macros.h"
#include "base/strings/string_piece.h"
+// TODO(timvolodine): move proto to components
#include "chrome/common/safe_browsing/client_model.pb.h"
-#include "chrome/renderer/safe_browsing/features.h"
+#include "components/safe_browsing/renderer/features.h"
namespace {
// Enum used to keep stats about the status of the Scorer creation.
« no previous file with comments | « components/safe_browsing/renderer/scorer.h ('k') | components/safe_browsing/renderer/scorer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698