Save errno for logging before potentially overwriting it.
[chromium-blink-merge.git] / content / public / browser / load_from_memory_cache_details.h
blob1ebf491d4da748a4208f8c220472ef9cdaef0d27
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_PUBLIC_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_
6 #define CONTENT_PUBLIC_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_
8 #include <string>
9 #include "base/basictypes.h"
10 #include "googleurl/src/gurl.h"
11 #include "net/cert/cert_status_flags.h"
12 #include "webkit/glue/resource_type.h"
14 namespace content {
16 struct LoadFromMemoryCacheDetails {
17 LoadFromMemoryCacheDetails(const GURL& url,
18 int pid,
19 int cert_id,
20 net::CertStatus cert_status,
21 const std::string& http_method,
22 const std::string& mime_type,
23 ResourceType::Type resource_type);
24 ~LoadFromMemoryCacheDetails();
26 GURL url;
27 int pid;
28 int cert_id;
29 net::CertStatus cert_status;
30 std::string http_method;
31 std::string mime_type;
32 ResourceType::Type resource_type;
35 } // namespace content
37 #endif // CONTENT_PUBLIC_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_