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

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

Issue 10299002: Stop refcounting URLRequestContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initialize to NULL Created 8 years, 7 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: chrome/browser/profiles/off_the_record_profile_io_data.h
diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.h b/chrome/browser/profiles/off_the_record_profile_io_data.h
index a23b8fbe31e6655f408e43973dddb86feb503fc1..2e119a0027835a37969dcc92cc2d8a4de558b7ac 100644
--- a/chrome/browser/profiles/off_the_record_profile_io_data.h
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.h
@@ -98,14 +98,14 @@ class OffTheRecordProfileIOData : public ProfileIOData {
virtual void LazyInitializeInternal(
ProfileParams* profile_params) const OVERRIDE;
- virtual scoped_refptr<ChromeURLRequestContext> InitializeAppRequestContext(
- scoped_refptr<ChromeURLRequestContext> main_context,
+ virtual ChromeURLRequestContext* InitializeAppRequestContext(
+ ChromeURLRequestContext* main_context,
const std::string& app_id) const OVERRIDE;
- virtual scoped_refptr<ChromeURLRequestContext>
+ virtual ChromeURLRequestContext*
AcquireMediaRequestContext() const OVERRIDE;
- virtual scoped_refptr<ChromeURLRequestContext>
+ virtual ChromeURLRequestContext*
AcquireIsolatedAppRequestContext(
- scoped_refptr<ChromeURLRequestContext> main_context,
+ ChromeURLRequestContext* main_context,
const std::string& app_id) const OVERRIDE;
mutable scoped_ptr<net::HttpServerPropertiesImpl> http_server_properties_;
« no previous file with comments | « chrome/browser/policy/device_management_service.cc ('k') | chrome/browser/profiles/off_the_record_profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698