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

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

Issue 2763613004: Use std::unique_ptr for access to BackgroundFetchJobInfo (Closed)
Patch Set: Fixed std::move issue 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
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.

Powered by Google App Engine
This is Rietveld 408576698