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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc

Issue 6611023: The optional Malware Details also collects HTTP cache information. See design... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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: chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc (revision 81745)
+++ chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc (working copy)
@@ -38,15 +38,16 @@
class TestSafeBrowsingService: public SafeBrowsingService {
public:
virtual ~TestSafeBrowsingService() {}
- virtual void ReportMalwareDetails(scoped_refptr<MalwareDetails> details) {
- details_.push_back(details);
+
+ virtual void SendSerializedMalwareDetails(const std::string& serialized) {
+ details_.push_back(serialized);
}
- std::list<scoped_refptr<MalwareDetails> >* GetDetails() {
+ std::list<std::string>* GetDetails() {
return &details_;
}
- std::list<scoped_refptr<MalwareDetails> > details_;
+ std::list<std::string> details_;
};
class TestSafeBrowsingBlockingPageFactory

Powered by Google App Engine
This is Rietveld 408576698