Index: chrome/renderer/safe_browsing/scorer.h |
diff --git a/chrome/renderer/safe_browsing/scorer.h b/chrome/renderer/safe_browsing/scorer.h |
index b707562ea7734000a9b01845c9fd59831bafa030..d96575832400a3fdb69250233d94b45e4cbb53a4 100644 |
--- a/chrome/renderer/safe_browsing/scorer.h |
+++ b/chrome/renderer/safe_browsing/scorer.h |
@@ -54,9 +54,15 @@ class Scorer { |
// Return the maximum number of words per term for the loaded model. |
size_t max_words_per_term() const; |
+ // Return the maximum number of unique shingle hashes per page. |
+ size_t max_hashes_per_page() const; |
+ |
// Returns the murmurhash3 seed for the loaded model. |
uint32 murmurhash3_seed() const; |
+ // Return the number of words in a shingle. |
+ size_t shingle_size() const; |
+ |
protected: |
// Most clients should use the factory method. This constructor is public |
// to allow for mock implementations. |
@@ -79,6 +85,6 @@ class Scorer { |
DISALLOW_COPY_AND_ASSIGN(Scorer); |
}; |
-} // namepsace safe_browsing |
+} // namespace safe_browsing |
#endif // CHROME_RENDERER_SAFE_BROWSING_SCORER_H_ |