| OLD | NEW |
| 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 CONTENT_PUBLIC_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ | 6 #define CONTENT_PUBLIC_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 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 #include "net/cert/cert_status_flags.h" |
| 12 #include "webkit/glue/resource_type.h" | 12 #include "webkit/glue/resource_type.h" |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 | 15 |
| 16 struct LoadFromMemoryCacheDetails { | 16 struct LoadFromMemoryCacheDetails { |
| 17 LoadFromMemoryCacheDetails(const GURL& url, | 17 LoadFromMemoryCacheDetails(const GURL& url, |
| 18 int pid, | 18 int pid, |
| 19 int cert_id, | 19 int cert_id, |
| 20 net::CertStatus cert_status, | 20 net::CertStatus cert_status, |
| 21 const std::string& http_method, | 21 const std::string& http_method, |
| 22 const std::string& mime_type, | 22 const std::string& mime_type, |
| 23 ResourceType::Type resource_type); | 23 ResourceType::Type resource_type); |
| 24 ~LoadFromMemoryCacheDetails(); | 24 ~LoadFromMemoryCacheDetails(); |
| 25 | 25 |
| 26 GURL url; | 26 GURL url; |
| 27 int pid; | 27 int pid; |
| 28 int cert_id; | 28 int cert_id; |
| 29 net::CertStatus cert_status; | 29 net::CertStatus cert_status; |
| 30 std::string http_method; | 30 std::string http_method; |
| 31 std::string mime_type; | 31 std::string mime_type; |
| 32 ResourceType::Type resource_type; | 32 ResourceType::Type resource_type; |
| 33 }; | 33 }; |
| 34 | 34 |
| 35 } // namespace content | 35 } // namespace content |
| 36 | 36 |
| 37 #endif // CONTENT_PUBLIC_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ | 37 #endif // CONTENT_PUBLIC_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_ |
| OLD | NEW |