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

Unified Diff: ios/public/provider/chrome/browser/test_chrome_provider_initializer.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
Index: ios/public/provider/chrome/browser/test_chrome_provider_initializer.h
diff --git a/ios/public/provider/chrome/browser/test_chrome_provider_initializer.h b/ios/public/provider/chrome/browser/test_chrome_provider_initializer.h
index 2f2bb49440e3085496db4ae56a2f601f4d22310c..c9ef180de2061ed824c972126f5fe5f7c3811a84 100644
--- a/ios/public/provider/chrome/browser/test_chrome_provider_initializer.h
+++ b/ios/public/provider/chrome/browser/test_chrome_provider_initializer.h
@@ -5,8 +5,9 @@
#ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_TEST_CHROME_PROVIDER_INITIALIZER_H_
#define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_TEST_CHROME_PROVIDER_INITIALIZER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace ios {
@@ -21,7 +22,7 @@ class TestChromeProviderInitializer {
virtual ~TestChromeProviderInitializer();
private:
- scoped_ptr<TestChromeBrowserProvider> chrome_browser_provider_;
+ std::unique_ptr<TestChromeBrowserProvider> chrome_browser_provider_;
DISALLOW_COPY_AND_ASSIGN(TestChromeProviderInitializer);
};
« no previous file with comments | « ios/public/provider/chrome/browser/test_chrome_browser_provider.h ('k') | ios/public/provider/web/web_controller_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698