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

Unified Diff: ios/web/browser_state_web_view_partition_inttest.mm

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/app/web_main_runner.mm ('k') | ios/web/interstitials/html_web_interstitial_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/browser_state_web_view_partition_inttest.mm
diff --git a/ios/web/browser_state_web_view_partition_inttest.mm b/ios/web/browser_state_web_view_partition_inttest.mm
index 9e39ea623b46a2205ad164322031ba531110f0b3..34974784011a326228348586df9a906d3994720e 100644
--- a/ios/web/browser_state_web_view_partition_inttest.mm
+++ b/ios/web/browser_state_web_view_partition_inttest.mm
@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include <string>
#import <WebKit/WebKit.h>
+#include <memory>
+#include <string>
+
#import "base/mac/scoped_nsobject.h"
-#include "base/memory/scoped_ptr.h"
#include "base/test/ios/wait_util.h"
#include "ios/web/public/browser_state.h"
#import "ios/web/public/test/http_server.h"
@@ -133,7 +134,7 @@ class BrowserStateWebViewPartitionTest : public web::WebIntTest {
private:
// The ResponseProvider used to load a simple web page.
- scoped_ptr<web::ResponseProvider> provider_;
+ std::unique_ptr<web::ResponseProvider> provider_;
// The OTR browser state used in tests.
web::TestBrowserState otr_browser_state_;
};
« no previous file with comments | « ios/web/app/web_main_runner.mm ('k') | ios/web/interstitials/html_web_interstitial_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698