DescriptionChange SafeBrowsingProtocolManager::GetFullHash signature.
This makes two changes:
- Gets rid of the SafeBrowsingService::SafeBrowsingCheck argument, which was treated (mostly) opaquely by ProtocolManager.
- Pass in a callback rather to be invoked rather than have SafeBrowsingProtocolManager directly call a method on SafeBrowsingService.
This is one step to decoupling SafeBrowsingProtocolManager from SafeBrowsingService to make it easier to test.
BUG=158246
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164949
Patch Set 1 #Patch Set 2 : Use unretained #Patch Set 3 : Fixed browser_tests #Patch Set 4 : Header changes #Patch Set 5 : Another comment fix #Patch Set 6 : Move InvokeFullHashCallback to anon namespace #Patch Set 7 : Rebase #Patch Set 8 : Fix rebase with browser_test #
Total comments: 4
Patch Set 9 : const-ref and comment #Patch Set 10 : rebase #Patch Set 11 : Fix browser_tests after rebase #
Messages
Total messages: 5 (0 generated)
|