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

Unified Diff: ios/web/public/test/response_providers/file_based_response_provider.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/test/http_server_inttest.mm ('k') | ios/web/public/test/scoped_testing_web_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/test/response_providers/file_based_response_provider.h
diff --git a/ios/web/public/test/response_providers/file_based_response_provider.h b/ios/web/public/test/response_providers/file_based_response_provider.h
index 5578e71957e1139d3c54320ea382531427d99eac..b9c98b7569b840fa66e4acb060db302428d9b9d8 100644
--- a/ios/web/public/test/response_providers/file_based_response_provider.h
+++ b/ios/web/public/test/response_providers/file_based_response_provider.h
@@ -5,8 +5,9 @@
#ifndef IOS_WEB_PUBLIC_TEST_RESPONSE_PROVIDERS_FILE_BASED_RESPONSE_PROVIDER_H_
#define IOS_WEB_PUBLIC_TEST_RESPONSE_PROVIDERS_FILE_BASED_RESPONSE_PROVIDER_H_
+#include <memory>
+
#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
#include "ios/web/public/test/response_providers/file_based_response_provider_impl.h"
#include "ios/web/public/test/response_providers/response_provider.h"
@@ -29,7 +30,7 @@ class FileBasedResponseProvider : public ResponseProvider {
const Request& request) override;
private:
- scoped_ptr<FileBasedResponseProviderImpl> response_provider_impl_;
+ std::unique_ptr<FileBasedResponseProviderImpl> response_provider_impl_;
};
}
« no previous file with comments | « ios/web/public/test/http_server_inttest.mm ('k') | ios/web/public/test/scoped_testing_web_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698