Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2849)

Unified Diff: content/public/browser/load_from_memory_cache_details.h

Issue 10582007: Moving LoadFromMemoryCacheDetails to content/public/browser and making it a struct. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698