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

Unified Diff: ios/web/public/test/http_server.h

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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 | « ios/web/public/navigation_item.h ('k') | ios/web/public/test/http_server_inttest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/test/http_server.h
diff --git a/ios/web/public/test/http_server.h b/ios/web/public/test/http_server.h
index bc96a1fc03dbb4aea6292e3bcf93f50ac9d7b1f1..daf359f5ff7924221c796bea77632c3ddd68e57f 100644
--- a/ios/web/public/test/http_server.h
+++ b/ios/web/public/test/http_server.h
@@ -5,12 +5,12 @@
#ifndef IOS_WEB_PUBLIC_TEST_HTTP_SERVER_H_
#define IOS_WEB_PUBLIC_TEST_HTTP_SERVER_H_
+#include <memory>
#include <vector>
#import "base/mac/scoped_nsobject.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
#include "base/synchronization/lock.h"
#include "ios/web/public/test/response_providers/response_provider.h"
@@ -36,7 +36,7 @@ class RefCountedResponseProviderWrapper :
private:
friend class base::RefCounted<RefCountedResponseProviderWrapper>;
// The ResponseProvider that backs this object.
- scoped_ptr<ResponseProvider> response_provider_;
+ std::unique_ptr<ResponseProvider> response_provider_;
virtual ~RefCountedResponseProviderWrapper();
};
« no previous file with comments | « ios/web/public/navigation_item.h ('k') | ios/web/public/test/http_server_inttest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698