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

Unified Diff: content/public/browser/browser_context.h

Issue 2815913005: Switch to using scoped_ptr with UserData (Closed)
Patch Set: rebase Created 3 years, 8 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
« no previous file with comments | « content/common/net/url_fetcher.cc ('k') | google_apis/gaia/gaia_auth_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index 7bc69b65c45948ae16bb45fd0c21a5319d72e19d..e06049b9351f6e42c23f1d587d91afe6af2bb759 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -145,8 +145,9 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
// across the next restart.
static void SaveSessionState(BrowserContext* browser_context);
- static void SetDownloadManagerForTesting(BrowserContext* browser_context,
- DownloadManager* download_manager);
+ static void SetDownloadManagerForTesting(
+ BrowserContext* browser_context,
+ std::unique_ptr<content::DownloadManager> download_manager);
// Makes the Service Manager aware of this BrowserContext, and assigns a user
// ID number to it. Should be called for each BrowserContext created.
« no previous file with comments | « content/common/net/url_fetcher.cc ('k') | google_apis/gaia/gaia_auth_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698