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

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 2536723009: Make net::URLRequestContext a MemoryDumpProvider (Closed)
Patch Set: fix compile Created 4 years 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
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ab8d0270eb6c3c2b9fde42bae7727ee810d8c16b..888c97fb2497746c224e01e2a3cda9e1321b2fb9 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -271,7 +271,10 @@ class ProfileIOData {
// it is deleted.
class MediaRequestContext : public net::URLRequestContext {
public:
- MediaRequestContext();
+ // |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);
void SetHttpTransactionFactory(
std::unique_ptr<net::HttpTransactionFactory> http_factory);
@@ -492,7 +495,8 @@ class ProfileIOData {
// isolated app.
virtual net::URLRequestContext* InitializeMediaRequestContext(
net::URLRequestContext* original_context,
- const StoragePartitionDescriptor& details) const = 0;
+ const StoragePartitionDescriptor& details,
+ const std::string& name) const = 0;
// These functions are used to transfer ownership of the lazily initialized
// context from ProfileIOData to the URLRequestContextGetter.
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698