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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_WEB_SHELL_SHELL_MAIN_DELEGATE_H_ 5 #ifndef IOS_WEB_SHELL_SHELL_MAIN_DELEGATE_H_
6 #define IOS_WEB_SHELL_SHELL_MAIN_DELEGATE_H_ 6 #define IOS_WEB_SHELL_SHELL_MAIN_DELEGATE_H_
7 7
8 #include <memory>
9
8 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "ios/web/public/app/web_main_delegate.h" 11 #include "ios/web/public/app/web_main_delegate.h"
11 12
12 namespace web { 13 namespace web {
13 class ShellWebClient; 14 class ShellWebClient;
14 15
15 class ShellMainDelegate : public WebMainDelegate { 16 class ShellMainDelegate : public WebMainDelegate {
16 public: 17 public:
17 ShellMainDelegate(); 18 ShellMainDelegate();
18 ~ShellMainDelegate() override; 19 ~ShellMainDelegate() override;
19 20
20 void BasicStartupComplete() override; 21 void BasicStartupComplete() override;
21 22
22 private: 23 private:
23 scoped_ptr<ShellWebClient> web_client_; 24 std::unique_ptr<ShellWebClient> web_client_;
24 }; 25 };
25 26
26 } // namespace web 27 } // namespace web
27 28
28 #endif // IOS_WEB_SHELL_SHELL_MAIN_DELEGATE_H_ 29 #endif // IOS_WEB_SHELL_SHELL_MAIN_DELEGATE_H_
OLDNEW
« 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