summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/browser/load_from_memory_cache_details.cc4
-rw-r--r--content/browser/load_from_memory_cache_details.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/content/browser/load_from_memory_cache_details.cc b/content/browser/load_from_memory_cache_details.cc
index e78171f..e6bbb9a 100644
--- a/content/browser/load_from_memory_cache_details.cc
+++ b/content/browser/load_from_memory_cache_details.cc
@@ -9,8 +9,8 @@ LoadFromMemoryCacheDetails::LoadFromMemoryCacheDetails(
int pid,
int cert_id,
net::CertStatus cert_status,
- std::string http_method,
- std::string mime_type,
+ const std::string& http_method,
+ const std::string& mime_type,
ResourceType::Type resource_type)
: url_(url),
pid_(pid),
diff --git a/content/browser/load_from_memory_cache_details.h b/content/browser/load_from_memory_cache_details.h
index b17f06e..1c69ca3 100644
--- a/content/browser/load_from_memory_cache_details.h
+++ b/content/browser/load_from_memory_cache_details.h
@@ -19,8 +19,8 @@ class LoadFromMemoryCacheDetails {
int pid,
int cert_id,
net::CertStatus cert_status,
- std::string http_method,
- std::string mime_type,
+ const std::string& http_method,
+ const std::string& mime_type,
ResourceType::Type resource_type);
~LoadFromMemoryCacheDetails();