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

Unified Diff: ios/web/shell/shell_main_delegate.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/shell/shell_browser_state.mm ('k') | ios/web/shell/shell_url_request_context_getter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/shell/shell_main_delegate.h
diff --git a/ios/web/shell/shell_main_delegate.h b/ios/web/shell/shell_main_delegate.h
index 7f07f633ec54ec258c6cdcd0715ecf9877cead50..afd2ccb668067fc6c7b425561c22d209259c40dd 100644
--- a/ios/web/shell/shell_main_delegate.h
+++ b/ios/web/shell/shell_main_delegate.h
@@ -5,8 +5,9 @@
#ifndef IOS_WEB_SHELL_SHELL_MAIN_DELEGATE_H_
#define IOS_WEB_SHELL_SHELL_MAIN_DELEGATE_H_
+#include <memory>
+
#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
#include "ios/web/public/app/web_main_delegate.h"
namespace web {
@@ -20,7 +21,7 @@ class ShellMainDelegate : public WebMainDelegate {
void BasicStartupComplete() override;
private:
- scoped_ptr<ShellWebClient> web_client_;
+ std::unique_ptr<ShellWebClient> web_client_;
};
} // namespace web
« no previous file with comments | « ios/web/shell/shell_browser_state.mm ('k') | ios/web/shell/shell_url_request_context_getter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698