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 #ifndef CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ | 5 #ifndef CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ |
6 #define CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ | 6 #define CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
11 #include "net/base/cert_status_flags.h" | |
12 | 11 |
13 class LoadFromMemoryCacheDetails { | 12 class LoadFromMemoryCacheDetails { |
14 public: | 13 public: |
15 LoadFromMemoryCacheDetails( | 14 LoadFromMemoryCacheDetails( |
16 const GURL& url, | 15 const GURL& url, |
17 int pid, | 16 int pid, |
18 int cert_id, | 17 int cert_id, |
19 net::CertStatus cert_status); | 18 int cert_status); |
20 ~LoadFromMemoryCacheDetails(); | 19 ~LoadFromMemoryCacheDetails(); |
21 | 20 |
22 const GURL& url() const { return url_; } | 21 const GURL& url() const { return url_; } |
23 int pid() const { return pid_; } | 22 int pid() const { return pid_; } |
24 int ssl_cert_id() const { return cert_id_; } | 23 int ssl_cert_id() const { return cert_id_; } |
25 net::CertStatus ssl_cert_status() const { return cert_status_; } | 24 int ssl_cert_status() const { return cert_status_; } |
26 | 25 |
27 private: | 26 private: |
28 GURL url_; | 27 GURL url_; |
29 int pid_; | 28 int pid_; |
30 int cert_id_; | 29 int cert_id_; |
31 net::CertStatus cert_status_; | 30 int cert_status_; |
32 | 31 |
33 DISALLOW_COPY_AND_ASSIGN(LoadFromMemoryCacheDetails); | 32 DISALLOW_COPY_AND_ASSIGN(LoadFromMemoryCacheDetails); |
34 }; | 33 }; |
35 | 34 |
36 #endif // CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ | 35 #endif // CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ |
OLD | NEW |