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

Unified Diff: components/safe_browsing/renderer/scorer.h

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/scorer.h
diff --git a/chrome/renderer/safe_browsing/scorer.h b/components/safe_browsing/renderer/scorer.h
similarity index 93%
rename from chrome/renderer/safe_browsing/scorer.h
rename to components/safe_browsing/renderer/scorer.h
index 6a37c4fcfe7600bcdf2b67a621f0ce58740ea2fc..c6a81cad32af7be4e25e7f8bf7e5aabbbfcbc868 100644
--- a/chrome/renderer/safe_browsing/scorer.h
+++ b/components/safe_browsing/renderer/scorer.h
@@ -11,8 +11,8 @@
//
// See features.h for a list of features that are currently used.
-#ifndef CHROME_RENDERER_SAFE_BROWSING_SCORER_H_
-#define CHROME_RENDERER_SAFE_BROWSING_SCORER_H_
+#ifndef COMPONENTS_SAFE_BROWSING_RENDERER_SCORER_H_
+#define COMPONENTS_SAFE_BROWSING_RENDERER_SCORER_H_
#include <stddef.h>
#include <stdint.h>
@@ -22,6 +22,7 @@
#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/strings/string_piece.h"
+// TODO(timvolodine): move proto to components
#include "chrome/common/safe_browsing/client_model.pb.h"
namespace safe_browsing {
@@ -90,4 +91,4 @@ class Scorer {
};
} // namespace safe_browsing
-#endif // CHROME_RENDERER_SAFE_BROWSING_SCORER_H_
+#endif // COMPONENTS_SAFE_BROWSING_RENDERER_SCORER_H_

Powered by Google App Engine
This is Rietveld 408576698