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

Side by Side Diff: content/browser/signed_certificate_timestamp_store_impl.h

Issue 637183002: Replace FINAL and OVERRIDE with their C++11 counterparts in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch Created 6 years, 2 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
« no previous file with comments | « content/browser/session_history_browsertest.cc ('k') | content/browser/site_instance_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_BROWSER_SIGNED_CERTIFICATE_STORE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_SIGNED_CERTIFICATE_STORE_IMPL_H_
6 #define CONTENT_BROWSER_SIGNED_CERTIFICATE_STORE_IMPL_H_ 6 #define CONTENT_BROWSER_SIGNED_CERTIFICATE_STORE_IMPL_H_
7 7
8 #include "content/browser/renderer_data_memoizing_store.h" 8 #include "content/browser/renderer_data_memoizing_store.h"
9 #include "content/public/browser/signed_certificate_timestamp_store.h" 9 #include "content/public/browser/signed_certificate_timestamp_store.h"
10 #include "net/cert/signed_certificate_timestamp.h" 10 #include "net/cert/signed_certificate_timestamp.h"
11 11
12 template <typename T> struct DefaultSingletonTraits; 12 template <typename T> struct DefaultSingletonTraits;
13 13
14 namespace content { 14 namespace content {
15 15
16 class SignedCertificateTimestampStoreImpl 16 class SignedCertificateTimestampStoreImpl
17 : public SignedCertificateTimestampStore { 17 : public SignedCertificateTimestampStore {
18 public: 18 public:
19 // Returns the singleton instance of the SignedCertificateTimestampStore. 19 // Returns the singleton instance of the SignedCertificateTimestampStore.
20 static SignedCertificateTimestampStoreImpl* GetInstance(); 20 static SignedCertificateTimestampStoreImpl* GetInstance();
21 21
22 // SignedCertificateTimestampStore implementation: 22 // SignedCertificateTimestampStore implementation:
23 virtual int Store( 23 virtual int Store(
24 net::ct::SignedCertificateTimestamp* sct, 24 net::ct::SignedCertificateTimestamp* sct,
25 int render_process_host_id) OVERRIDE; 25 int render_process_host_id) override;
26 virtual bool Retrieve( 26 virtual bool Retrieve(
27 int sct_id, 27 int sct_id,
28 scoped_refptr<net::ct::SignedCertificateTimestamp>* sct) OVERRIDE; 28 scoped_refptr<net::ct::SignedCertificateTimestamp>* sct) override;
29 29
30 private: 30 private:
31 friend struct DefaultSingletonTraits<SignedCertificateTimestampStoreImpl>; 31 friend struct DefaultSingletonTraits<SignedCertificateTimestampStoreImpl>;
32 32
33 SignedCertificateTimestampStoreImpl(); 33 SignedCertificateTimestampStoreImpl();
34 virtual ~SignedCertificateTimestampStoreImpl(); 34 virtual ~SignedCertificateTimestampStoreImpl();
35 35
36 RendererDataMemoizingStore<net::ct::SignedCertificateTimestamp> store_; 36 RendererDataMemoizingStore<net::ct::SignedCertificateTimestamp> store_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(SignedCertificateTimestampStoreImpl); 38 DISALLOW_COPY_AND_ASSIGN(SignedCertificateTimestampStoreImpl);
39 }; 39 };
40 40
41 } // namespace content 41 } // namespace content
42 42
43 #endif // CONTENT_BROWSER_SIGNED_CERTIFICATE_STORE_IMPL_H_ 43 #endif // CONTENT_BROWSER_SIGNED_CERTIFICATE_STORE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/session_history_browsertest.cc ('k') | content/browser/site_instance_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698