Home | History | Annotate | Download | only in browser
      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 "content/public/common/resource_type.h"
     11 #include "net/cert/cert_status_flags.h"
     12 #include "url/gurl.h"
     13 
     14 namespace content {
     15 
     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();
     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 resource_type;
     33 };
     34 
     35 }  // namespace content
     36 
     37 #endif  // CONTENT_PUBLIC_BROWSER_LOAD_FROM_MEMORY_CACHE_DETAILS_H_
     38