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

Unified Diff: content/browser/background_fetch/background_fetch_context.h

Issue 2763613004: Use std::unique_ptr for access to BackgroundFetchJobInfo (Closed)
Patch Set: Missed one Created 3 years, 9 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 | « no previous file | content/browser/background_fetch/background_fetch_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/background_fetch/background_fetch_context.h
diff --git a/content/browser/background_fetch/background_fetch_context.h b/content/browser/background_fetch/background_fetch_context.h
index 029605661afe81519ebeb687578a7f0cf161ca54..2ed7e50f0e8a6375ef3037e01456c3ce36f13635 100644
--- a/content/browser/background_fetch/background_fetch_context.h
+++ b/content/browser/background_fetch/background_fetch_context.h
@@ -55,7 +55,7 @@ class CONTENT_EXPORT BackgroundFetchContext
~BackgroundFetchContext();
- void CreateRequest(const BackgroundFetchJobInfo& job_info,
+ void CreateRequest(std::unique_ptr<BackgroundFetchJobInfo> job_info,
std::vector<BackgroundFetchRequestInfo>& request_infos);
// Callback for the JobController when the job is complete.
« no previous file with comments | « no previous file | content/browser/background_fetch/background_fetch_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698