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

Side by Side Diff: chrome/browser/net/sqlite_persistent_cookie_store.h

Issue 8533013: SessionRestore: Store session cookies and restore them if chrome crashes or auto-restarts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 27 matching lines...) Expand all
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 Flush(Task* completion_task) OVERRIDE; 46 virtual void Flush(Task* completion_task) OVERRIDE;
47 47
48 virtual void DeleteSessionCookies() OVERRIDE;
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698