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

Unified Diff: content/child/blob_storage/blob_transport_controller.h

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: 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/child/blob_storage/blob_transport_controller.h
diff --git a/content/child/blob_storage/blob_transport_controller.h b/content/child/blob_storage/blob_transport_controller.h
index a3065ec4bca02f0b7ae4c574b79f30e4d4703683..43a86064906df6f3dd09d2b04b4872587c8d4922 100644
--- a/content/child/blob_storage/blob_transport_controller.h
+++ b/content/child/blob_storage/blob_transport_controller.h
@@ -26,7 +26,7 @@
namespace base {
template <typename T>
-struct DefaultLazyInstanceTraits;
+struct LazyInstanceTraitsBase;
class SingleThreadTaskRunner;
class TaskRunner;
}
@@ -100,7 +100,7 @@ class CONTENT_EXPORT BlobTransportController {
void CancelAllBlobTransfers();
private:
- friend struct base::DefaultLazyInstanceTraits<BlobTransportController>;
+ friend struct base::LazyInstanceTraitsBase<BlobTransportController>;
friend class BlobTransportControllerTest;
FRIEND_TEST_ALL_PREFIXES(BlobTransportControllerTest, Descriptions);
FRIEND_TEST_ALL_PREFIXES(BlobTransportControllerTest, Responses);

Powered by Google App Engine
This is Rietveld 408576698