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

Unified Diff: remoting/test/host_list_fetcher.h

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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 | « remoting/test/fake_socket_factory.h ('k') | remoting/test/host_list_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/host_list_fetcher.h
diff --git a/remoting/test/host_list_fetcher.h b/remoting/test/host_list_fetcher.h
index 7b7cc3a1c3f91dee6f9b8a435294edb80f27d157..54094bdd654f5bc9a042b006211ba38140735949 100644
--- a/remoting/test/host_list_fetcher.h
+++ b/remoting/test/host_list_fetcher.h
@@ -5,13 +5,13 @@
#ifndef REMOTING_TEST_HOST_LIST_FETCHER_H_
#define REMOTING_TEST_HOST_LIST_FETCHER_H_
+#include <memory>
#include <string>
#include <vector>
#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "net/url_request/url_fetcher_delegate.h"
#include "remoting/test/host_info.h"
@@ -58,7 +58,7 @@ class HostListFetcher : public net::URLFetcherDelegate {
void OnURLFetchComplete(const net::URLFetcher* source) override;
// Holds the URLFetcher for the Host List request.
- scoped_ptr<net::URLFetcher> request_;
+ std::unique_ptr<net::URLFetcher> request_;
// Provides application-specific context for the network request.
scoped_refptr<remoting::URLRequestContextGetter> request_context_getter_;
« no previous file with comments | « remoting/test/fake_socket_factory.h ('k') | remoting/test/host_list_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698