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

Unified Diff: extensions/browser/updater/request_queue.h

Issue 2294653002: Some linked_ptr -> unique_ptr conversion in extensions/browser. (Closed)
Patch Set: address comments Created 4 years, 4 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: extensions/browser/updater/request_queue.h
diff --git a/extensions/browser/updater/request_queue.h b/extensions/browser/updater/request_queue.h
index 1b9c5a45a6551de43efa876de74552246af83c52..5b11468246a65668199927eebf6acdae2bc9dead 100644
--- a/extensions/browser/updater/request_queue.h
+++ b/extensions/browser/updater/request_queue.h
@@ -12,7 +12,6 @@
#include <utility>
#include "base/callback.h"
-#include "base/memory/linked_ptr.h"
#include "base/time/time.h"
#include "base/timer/timer.h"
#include "net/base/backoff_entry.h"
@@ -85,8 +84,8 @@ class RequestQueue {
struct Request {
Request(net::BackoffEntry* backoff_entry, T* request)
: backoff_entry(backoff_entry), request(request) {}
- linked_ptr<net::BackoffEntry> backoff_entry;
- linked_ptr<T> request;
+ std::unique_ptr<net::BackoffEntry> backoff_entry;
+ std::unique_ptr<T> request;
};
// Compares the release time of two pending requests.
« no previous file with comments | « extensions/browser/updater/extension_downloader.cc ('k') | extensions/browser/value_store/value_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698