Chromium Code Reviews| Index: content/public/browser/load_from_memory_cache_details.h |
| diff --git a/content/public/browser/load_from_memory_cache_details.h b/content/public/browser/load_from_memory_cache_details.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b022b0cd38e91cadc874b6e9bfe1d4d3aeca77ad |
| --- /dev/null |
| +++ b/content/public/browser/load_from_memory_cache_details.h |
| @@ -0,0 +1,38 @@ |
| +// 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_ |
| +#pragma once |
| + |
| +#include <string> |
| +#include "base/basictypes.h" |
| +#include "googleurl/src/gurl.h" |
| +#include "net/base/cert_status_flags.h" |
| +#include "webkit/glue/resource_type.h" |
| + |
| +namespace content { |
| + |
| +struct LoadFromMemoryCacheDetails { |
| + LoadFromMemoryCacheDetails(const GURL& url, |
|
jam
2012/06/18 23:29:01
nit: is this constructor still needed? we try to a
Shishir
2012/06/18 23:53:46
I had tried to inline it, but I get the - Complex
jam
2012/06/19 00:04:57
I don't see how this constructor helps with that i
|
| + 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_ |