Popular sites on the NTP: Try to keep the ordering constant
[chromium-blink-merge.git] / content / public / browser / load_from_memory_cache_details.h
blobdfd1740149e63899007b113392faebbfccf7c603
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 "content/public/common/resource_type.h"
11 #include "net/cert/cert_status_flags.h"
12 #include "url/gurl.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 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 resource_type;
35 } // namespace content
37 #endif // CONTENT_PUBLIC_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_