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

Unified Diff: net/base/cookie_store.h

Issue 197023: This CL changes the CookieStore obect to be a refcounted object to get a bett... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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: net/base/cookie_store.h
===================================================================
--- net/base/cookie_store.h (revision 25474)
+++ net/base/cookie_store.h (working copy)
@@ -10,6 +10,7 @@
#include <string>
#include "base/basictypes.h"
+#include "base/ref_counted.h"
#include "base/time.h"
#include "net/base/cookie_options.h"
@@ -20,8 +21,8 @@
class CookieMonster;
// An interface for storing and retrieving cookies. Implementations need to
-// be therad safe as its methods can be accessed from IO as well as UI threads.
-class CookieStore {
+// be thread safe as its methods can be accessed from IO as well as UI threads.
+class CookieStore : public base::RefCountedThreadSafe<CookieStore> {
public:
virtual ~CookieStore() {}

Powered by Google App Engine
This is Rietveld 408576698