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

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

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.cc
diff --git a/content/browser/load_from_memory_cache_details.cc b/content/public/browser/load_from_memory_cache_details.cc
similarity index 61%
rename from content/browser/load_from_memory_cache_details.cc
rename to content/public/browser/load_from_memory_cache_details.cc
index e6bbb9a7e48bf61dd19934f5af11ada62eaef250..a6ce4e52aac34c9e70f080ea7950ff359473f18c 100644
--- a/content/browser/load_from_memory_cache_details.cc
+++ b/content/public/browser/load_from_memory_cache_details.cc
@@ -2,7 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/browser/load_from_memory_cache_details.h"
+#include "content/public/browser/load_from_memory_cache_details.h"
+
+namespace content {
LoadFromMemoryCacheDetails::LoadFromMemoryCacheDetails(
const GURL& url,
@@ -12,14 +14,16 @@ LoadFromMemoryCacheDetails::LoadFromMemoryCacheDetails(
const std::string& http_method,
const std::string& mime_type,
ResourceType::Type resource_type)
- : url_(url),
- pid_(pid),
- cert_id_(cert_id),
- cert_status_(cert_status),
- http_method_(http_method),
- mime_type_(mime_type),
- resource_type_(resource_type) {
+ : url(url),
+ pid(pid),
+ cert_id(cert_id),
+ cert_status(cert_status),
+ http_method(http_method),
+ mime_type(mime_type),
+ resource_type(resource_type) {
}
LoadFromMemoryCacheDetails::~LoadFromMemoryCacheDetails() {
}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698