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

Unified Diff: net/base/default_origin_bound_cert_store.h

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
« no previous file with comments | « chrome/browser/net/sqlite_persistent_cookie_store.cc ('k') | net/base/default_origin_bound_cert_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/default_origin_bound_cert_store.h
diff --git a/net/base/default_origin_bound_cert_store.h b/net/base/default_origin_bound_cert_store.h
index 38a4a56e4c30a98182105adb45c1ac69980fa099..05dd70bd3114a3c04c78689f0cd6cbd1fd6dc893 100644
--- a/net/base/default_origin_bound_cert_store.h
+++ b/net/base/default_origin_bound_cert_store.h
@@ -10,6 +10,7 @@
#include <string>
#include <vector>
+#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
#include "base/synchronization/lock.h"
@@ -51,7 +52,7 @@ class NET_EXPORT DefaultOriginBoundCertStore : public OriginBoundCertStore {
// It may be posted to the current thread, or it may run on the thread that
// actually does the flushing. Your Task should generally post a notification
// to the thread you actually want to be notified on.
- void FlushStore(Task* completion_task);
+ void FlushStore(const base::Closure& completion_task);
wtc 2011/11/16 06:30:18 Should we rename the function parameter because it
groby-ooo-7-16 2011/11/16 22:24:58 We still call it a task pretty much everywhere els
// OriginBoundCertStore implementation.
virtual bool GetOriginBoundCert(const std::string& origin,
@@ -154,7 +155,7 @@ class NET_EXPORT DefaultOriginBoundCertStore::PersistentStore
virtual void SetClearLocalStateOnExit(bool clear_local_state) = 0;
// Flush the store and post the given Task when complete.
- virtual void Flush(Task* completion_task) = 0;
+ virtual void Flush(const base::Closure& completion_task) = 0;
protected:
PersistentStore();
« no previous file with comments | « chrome/browser/net/sqlite_persistent_cookie_store.cc ('k') | net/base/default_origin_bound_cert_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698