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

Unified Diff: net/base/default_origin_bound_cert_store_unittest.cc

Issue 8573031: base::Bind fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed net_unittest Created 9 years, 1 month 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: net/base/default_origin_bound_cert_store_unittest.cc
diff --git a/net/base/default_origin_bound_cert_store_unittest.cc b/net/base/default_origin_bound_cert_store_unittest.cc
index 224c86bdfa7c48935d796f2945a5d9184d859f04..45356e8f5c5522b8851b3d18e98f04e399529bd0 100644
--- a/net/base/default_origin_bound_cert_store_unittest.cc
+++ b/net/base/default_origin_bound_cert_store_unittest.cc
@@ -8,6 +8,7 @@
#include <string>
#include <vector>
+#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
@@ -30,7 +31,7 @@ class MockPersistentStore
virtual void DeleteOriginBoundCert(
const DefaultOriginBoundCertStore::OriginBoundCert& cert) OVERRIDE;
virtual void SetClearLocalStateOnExit(bool clear_local_state) OVERRIDE;
- virtual void Flush(Task* completion_task) OVERRIDE;
+ virtual void Flush(const base::Closure& completion_task) OVERRIDE;
private:
typedef std::map<std::string, DefaultOriginBoundCertStore::OriginBoundCert>
@@ -67,7 +68,7 @@ void MockPersistentStore::DeleteOriginBoundCert(
void MockPersistentStore::SetClearLocalStateOnExit(bool clear_local_state) {}
-void MockPersistentStore::Flush(Task* completion_task) {
+void MockPersistentStore::Flush(const base::Closure& completion_task) {
NOTREACHED();
}
« net/base/default_origin_bound_cert_store.h ('K') | « net/base/default_origin_bound_cert_store.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698