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

Side by Side Diff: ios/web/app/web_main_runner.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 unified diff | Download patch
« no previous file with comments | « ios/web/app/web_main_loop.mm ('k') | ios/web/browser_state_web_view_partition_inttest.mm » ('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 #include "ios/web/app/web_main_runner.h" 5 #include "ios/web/app/web_main_runner.h"
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/i18n/icu_util.h" 9 #include "base/i18n/icu_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 // True if basic startup was completed. 106 // True if basic startup was completed.
107 bool completed_basic_startup_; 107 bool completed_basic_startup_;
108 108
109 // The delegate will outlive this object. 109 // The delegate will outlive this object.
110 WebMainDelegate* delegate_; 110 WebMainDelegate* delegate_;
111 111
112 // Used if the embedder doesn't set one. 112 // Used if the embedder doesn't set one.
113 WebClient empty_web_client_; 113 WebClient empty_web_client_;
114 114
115 scoped_ptr<base::AtExitManager> exit_manager_; 115 std::unique_ptr<base::AtExitManager> exit_manager_;
116 scoped_ptr<WebMainLoop> main_loop_; 116 std::unique_ptr<WebMainLoop> main_loop_;
117 117
118 DISALLOW_COPY_AND_ASSIGN(WebMainRunnerImpl); 118 DISALLOW_COPY_AND_ASSIGN(WebMainRunnerImpl);
119 }; 119 };
120 120
121 // static 121 // static
122 WebMainRunner* WebMainRunner::Create() { 122 WebMainRunner* WebMainRunner::Create() {
123 return new WebMainRunnerImpl(); 123 return new WebMainRunnerImpl();
124 } 124 }
125 125
126 } // namespace web 126 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/app/web_main_loop.mm ('k') | ios/web/browser_state_web_view_partition_inttest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698