Index: chrome/browser/profiles/profile_io_data.h |
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h |
index dd4b25de5a1d24fe2be3b8248f45e312a1a464e8..7756537811ae8ad68b619bc9cda3fcd3a63b02c5 100644 |
--- a/chrome/browser/profiles/profile_io_data.h |
+++ b/chrome/browser/profiles/profile_io_data.h |
@@ -264,7 +264,7 @@ class ProfileIOData { |
// |name| is used to describe this context. Currently there are two kinds of |
// media request context -- main media request context ("main_meda") and |
// isolated app media request context ("isolated_media"). |
- explicit MediaRequestContext(const std::string& name); |
+ explicit MediaRequestContext(const char* name); |
void SetHttpTransactionFactory( |
std::unique_ptr<net::HttpTransactionFactory> http_factory); |
@@ -481,7 +481,7 @@ class ProfileIOData { |
virtual net::URLRequestContext* InitializeMediaRequestContext( |
net::URLRequestContext* original_context, |
const StoragePartitionDescriptor& details, |
- const std::string& name) const = 0; |
+ const char* name) const = 0; |
// These functions are used to transfer ownership of the lazily initialized |
// context from ProfileIOData to the URLRequestContextGetter. |