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" |
11 | 12 |
12 class LoadFromMemoryCacheDetails { | 13 class LoadFromMemoryCacheDetails { |
13 public: | 14 public: |
14 LoadFromMemoryCacheDetails( | 15 LoadFromMemoryCacheDetails( |
15 const GURL& url, | 16 const GURL& url, |
16 int pid, | 17 int pid, |
17 int cert_id, | 18 int cert_id, |
18 int cert_status); | 19 net::CertStatus cert_status); |
19 ~LoadFromMemoryCacheDetails(); | 20 ~LoadFromMemoryCacheDetails(); |
20 | 21 |
21 const GURL& url() const { return url_; } | 22 const GURL& url() const { return url_; } |
22 int pid() const { return pid_; } | 23 int pid() const { return pid_; } |
23 int ssl_cert_id() const { return cert_id_; } | 24 int ssl_cert_id() const { return cert_id_; } |
24 int ssl_cert_status() const { return cert_status_; } | 25 net::CertStatus ssl_cert_status() const { return cert_status_; } |
25 | 26 |
26 private: | 27 private: |
27 GURL url_; | 28 GURL url_; |
28 int pid_; | 29 int pid_; |
29 int cert_id_; | 30 int cert_id_; |
30 int cert_status_; | 31 net::CertStatus cert_status_; |
31 | 32 |
32 DISALLOW_COPY_AND_ASSIGN(LoadFromMemoryCacheDetails); | 33 DISALLOW_COPY_AND_ASSIGN(LoadFromMemoryCacheDetails); |
33 }; | 34 }; |
34 | 35 |
35 #endif // CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ | 36 #endif // CONTENT_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ |
OLD | NEW |