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

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

Issue 10447117: Unwire the clear on exit preference from the storage systems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_NET_SQLITE_SERVER_BOUND_CERT_STORE_H_ 5 #ifndef CHROME_BROWSER_NET_SQLITE_SERVER_BOUND_CERT_STORE_H_
6 #define CHROME_BROWSER_NET_SQLITE_SERVER_BOUND_CERT_STORE_H_ 6 #define CHROME_BROWSER_NET_SQLITE_SERVER_BOUND_CERT_STORE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/callback_forward.h" 9 #include "base/callback_forward.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 18 matching lines...) Expand all
29 ClearOnExitPolicy* clear_on_exit_policy); 29 ClearOnExitPolicy* clear_on_exit_policy);
30 30
31 // net::DefaultServerBoundCertStore::PersistentStore: 31 // net::DefaultServerBoundCertStore::PersistentStore:
32 virtual bool Load( 32 virtual bool Load(
33 std::vector<net::DefaultServerBoundCertStore::ServerBoundCert*>* certs) 33 std::vector<net::DefaultServerBoundCertStore::ServerBoundCert*>* certs)
34 OVERRIDE; 34 OVERRIDE;
35 virtual void AddServerBoundCert( 35 virtual void AddServerBoundCert(
36 const net::DefaultServerBoundCertStore::ServerBoundCert& cert) OVERRIDE; 36 const net::DefaultServerBoundCertStore::ServerBoundCert& cert) OVERRIDE;
37 virtual void DeleteServerBoundCert( 37 virtual void DeleteServerBoundCert(
38 const net::DefaultServerBoundCertStore::ServerBoundCert& cert) OVERRIDE; 38 const net::DefaultServerBoundCertStore::ServerBoundCert& cert) OVERRIDE;
39 virtual void SetClearLocalStateOnExit(bool clear_local_state) OVERRIDE; 39 virtual void SaveSessionState() OVERRIDE;
erikwright (departed) 2012/05/31 18:02:02 Again, I'd prefer the name include 'Set'.
40 virtual void Flush(const base::Closure& completion_task) OVERRIDE; 40 virtual void Flush(const base::Closure& completion_task) OVERRIDE;
41 41
42 protected: 42 protected:
43 virtual ~SQLiteServerBoundCertStore(); 43 virtual ~SQLiteServerBoundCertStore();
44 44
45 private: 45 private:
46 class Backend; 46 class Backend;
47 47
48 scoped_refptr<Backend> backend_; 48 scoped_refptr<Backend> backend_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(SQLiteServerBoundCertStore); 50 DISALLOW_COPY_AND_ASSIGN(SQLiteServerBoundCertStore);
51 }; 51 };
52 52
53 #endif // CHROME_BROWSER_NET_SQLITE_SERVER_BOUND_CERT_STORE_H_ 53 #endif // CHROME_BROWSER_NET_SQLITE_SERVER_BOUND_CERT_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698