load_from_memory_cache_details.h revision ca12bfac764ba476d6cd062bf1dde12cc64c3f40
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.
4
5#ifndef CONTENT_PUBLIC_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_
6#define CONTENT_PUBLIC_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_
7
8#include <string>
9#include "base/basictypes.h"
10#include "net/cert/cert_status_flags.h"
11#include "url/gurl.h"
12#include "webkit/common/resource_type.h"
13
14namespace content {
15
16struct 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();
25
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;
33};
34
35}  // namespace content
36
37#endif  // CONTENT_PUBLIC_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_
38