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

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

Issue 2815913005: Switch to using scoped_ptr with UserData (Closed)
Patch Set: fixes 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
Index: content/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index 89461daa21f4788658306876b3e21fd79e7a810f..e400358ddb341c5d8e6a2635fe2c374c29867669 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -144,8 +144,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.

Powered by Google App Engine
This is Rietveld 408576698