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

Unified Diff: components/quirks/quirks_client.h

Issue 1921923002: Convert //components/[o-t]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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
« no previous file with comments | « components/query_parser/snippet.cc ('k') | components/quirks/quirks_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/quirks/quirks_client.h
diff --git a/components/quirks/quirks_client.h b/components/quirks/quirks_client.h
index 5219a5cd708f45a96f9ecb60bace0da864f237aa..86c7adab1bd6007497931fefcdbe79b0b3024e1d 100644
--- a/components/quirks/quirks_client.h
+++ b/components/quirks/quirks_client.h
@@ -5,9 +5,10 @@
#ifndef COMPONENTS_QUIRKS_QUIRKS_CLIENT_H_
#define COMPONENTS_QUIRKS_QUIRKS_CLIENT_H_
+#include <memory>
+
#include "base/files/file_path.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/threading/thread_checker.h"
#include "base/timer/timer.h"
#include "net/base/backoff_entry.h"
@@ -62,7 +63,7 @@ class QuirksClient : public net::URLFetcherDelegate {
base::ThreadChecker thread_checker_;
// This fetcher is used to download icc file.
- scoped_ptr<net::URLFetcher> url_fetcher_;
+ std::unique_ptr<net::URLFetcher> url_fetcher_;
// Pending retry.
base::OneShotTimer request_scheduled_;
« no previous file with comments | « components/query_parser/snippet.cc ('k') | components/quirks/quirks_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698