1. 21 Dec, 2015 1 commit
  2. 17 Apr, 2013 1 commit
  3. 11 Jul, 2012 1 commit
  4. 10 Jan, 2012 1 commit
  5. 28 Sep, 2011 1 commit
  6. 22 Sep, 2011 1 commit
    • pkasting@chromium.org's avatar
      Convert SHA256_LENGTH from a constant-in-anonymous-enum to a static const. ... · ea73fc7b
      pkasting@chromium.org authored
      Convert SHA256_LENGTH from a constant-in-anonymous-enum to a static const.  This defines the constant where it's declared to preserve the existing readability.
      
      Normally this makes things like DCHECK_EQ() unhappy, but when I'd originally tested this I didn't seem to need to make any changes due to that.  Will be watching the trybots...
      
      The original motiviation for this change was to find a way to eliminate some cases of passing anonymous-typed values as template arguments (which happens when you use a value from the enum in e.g. EXPECT_EQ()), which is technically illegal in C++03, though we don't warn about it. Simply naming the enum would have done this, but in general naming enums used to declare constants like this is bizarre ("enum Constants { ... }"?).
      
      BUG=92247
      TEST=Compiles
      Review URL: http://codereview.chromium.org/7823004
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102369 0039d316-1c4b-4281-b951-d872f2087c98
      ea73fc7b
  7. 05 Aug, 2011 1 commit
  8. 19 Jul, 2011 1 commit
  9. 17 Jun, 2011 1 commit
  10. 14 Apr, 2011 1 commit
  11. 24 Mar, 2011 1 commit
  12. 03 Sep, 2010 1 commit
    • bryner@chromium.org's avatar
      Add a term feature extractor for client-side phishing detection. · e1d6a597
      bryner@chromium.org authored
      This class creates features for n-grams in the page text that appear in the
      phishing classification model.  It will eventually operate on the plain text
      that is extracted by RenderView::CaptureText().
      
      To make it harder for phishers to enumerate the terms in the classification
      model, they will be supplied as SHA-256 hashes rather than plain text. The
      term feature extractor hashes the words in the document in order to check
      whether they match the model.  Since this is potentially expensive, the term
      feature extractor limits how long it will run on each iteration, similar to
      the PhishingDOMFeatureExtractor.
      
      TEST=PhishingTermFeatureExtractorTest
      BUG=none
      
      Review URL: http://codereview.chromium.org/3214002
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58537 0039d316-1c4b-4281-b951-d872f2087c98
      e1d6a597
  13. 26 Jul, 2010 1 commit
  14. 26 Jan, 2010 1 commit
  15. 10 Mar, 2009 1 commit
  16. 24 Aug, 2008 1 commit
  17. 26 Jul, 2008 1 commit