OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // A sqlite implementation of a cookie monster persistent store. | 5 // A sqlite implementation of a cookie monster persistent store. |
6 | 6 |
7 #ifndef CHROME_BROWSER_NET_SQLITE_PERSISTENT_COOKIE_STORE_H_ | 7 #ifndef CHROME_BROWSER_NET_SQLITE_PERSISTENT_COOKIE_STORE_H_ |
8 #define CHROME_BROWSER_NET_SQLITE_PERSISTENT_COOKIE_STORE_H_ | 8 #define CHROME_BROWSER_NET_SQLITE_PERSISTENT_COOKIE_STORE_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 const net::CookieMonster::CanonicalCookie& cc) OVERRIDE; | 36 const net::CookieMonster::CanonicalCookie& cc) OVERRIDE; |
37 | 37 |
38 virtual void UpdateCookieAccessTime( | 38 virtual void UpdateCookieAccessTime( |
39 const net::CookieMonster::CanonicalCookie& cc) OVERRIDE; | 39 const net::CookieMonster::CanonicalCookie& cc) OVERRIDE; |
40 | 40 |
41 virtual void DeleteCookie( | 41 virtual void DeleteCookie( |
42 const net::CookieMonster::CanonicalCookie& cc) OVERRIDE; | 42 const net::CookieMonster::CanonicalCookie& cc) OVERRIDE; |
43 | 43 |
44 virtual void SetClearLocalStateOnExit(bool clear_local_state) OVERRIDE; | 44 virtual void SetClearLocalStateOnExit(bool clear_local_state) OVERRIDE; |
45 | 45 |
| 46 virtual void SetClearSessionStateOnExit(bool clear_session_cookies) OVERRIDE; |
| 47 |
46 virtual void Flush(Task* completion_task) OVERRIDE; | 48 virtual void Flush(Task* completion_task) OVERRIDE; |
47 | 49 |
48 private: | 50 private: |
49 class Backend; | 51 class Backend; |
50 | 52 |
51 scoped_refptr<Backend> backend_; | 53 scoped_refptr<Backend> backend_; |
52 | 54 |
53 DISALLOW_COPY_AND_ASSIGN(SQLitePersistentCookieStore); | 55 DISALLOW_COPY_AND_ASSIGN(SQLitePersistentCookieStore); |
54 }; | 56 }; |
55 | 57 |
56 #endif // CHROME_BROWSER_NET_SQLITE_PERSISTENT_COOKIE_STORE_H_ | 58 #endif // CHROME_BROWSER_NET_SQLITE_PERSISTENT_COOKIE_STORE_H_ |
OLD | NEW |