summaryrefslogtreecommitdiffstats
path: root/content/public/browser/load_from_memory_cache_details.h
blob: b826fe7c112b0337f486bfef9fb7ce7cec78d7c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_PUBLIC_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_
#define CONTENT_PUBLIC_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_

#include <string>
#include "base/basictypes.h"
#include "net/cert/cert_status_flags.h"
#include "url/gurl.h"
#include "webkit/glue/resource_type.h"

namespace content {

struct LoadFromMemoryCacheDetails {
  LoadFromMemoryCacheDetails(const GURL& url,
                             int pid,
                             int cert_id,
                             net::CertStatus cert_status,
                             const std::string& http_method,
                             const std::string& mime_type,
                             ResourceType::Type resource_type);
  ~LoadFromMemoryCacheDetails();

  GURL url;
  int pid;
  int cert_id;
  net::CertStatus cert_status;
  std::string http_method;
  std::string mime_type;
  ResourceType::Type resource_type;
};

}  // namespace content

#endif  // CONTENT_PUBLIC_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_