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

Unified Diff: ios/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.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/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.h
diff --git a/ios/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.h b/ios/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.h
index 6978910e4edbb2229981ea3aa6d7fe37c06b5253..f000de51f4402a544b67e127e522ed5e7365b5b5 100644
--- a/ios/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.h
+++ b/ios/chrome/browser/browser_state/test_chrome_browser_state_isolated_context.h
@@ -5,6 +5,8 @@
#ifndef IOS_CHROME_BROWSER_BROWSER_STATE_TEST_CHROME_BROWSER_STATE_ISOLATED_CONTEXT_H_
#define IOS_CHROME_BROWSER_BROWSER_STATE_TEST_CHROME_BROWSER_STATE_ISOLATED_CONTEXT_H_
+#include <memory>
+
#include "base/macros.h"
#include "ios/chrome/browser/browser_state/test_chrome_browser_state.h"
#import "ios/public/provider/chrome/browser/ui/default_ios_web_view_factory.h"
@@ -19,7 +21,7 @@ class TestChromeBrowserStateWithIsolatedContext
bool MainContextCalled() const;
IOSWebViewFactoryExternalService SharingService();
- static scoped_ptr<TestChromeBrowserStateWithIsolatedContext> Build();
+ static std::unique_ptr<TestChromeBrowserStateWithIsolatedContext> Build();
// ChromeBrowserState:
net::URLRequestContextGetter* GetRequestContext() override;

Powered by Google App Engine
This is Rietveld 408576698