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

Side by Side Diff: ios/web/public/app/web_main_runner.h

Issue 2246673002: [ios] Made web_main_runner.h header public. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added missing file Created 4 years, 4 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/public/app/BUILD.gn ('k') | no next file » | 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.
Jackie Quinn 2016/08/15 17:30:22 I think this is where you meant to change to 2016
Eugene But (OOO till 7-30) 2016/08/15 18:11:29 This is an existing file which was moved to the ne
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_APP_WEB_MAIN_RUNNER_H_ 5 #ifndef IOS_WEB_PUBLIC_APP_WEB_MAIN_RUNNER_H_
6 #define IOS_WEB_APP_WEB_MAIN_RUNNER_H_ 6 #define IOS_WEB_PUBLIC_APP_WEB_MAIN_RUNNER_H_
7 7
8 #include "ios/web/public/app/web_main.h" 8 #include "ios/web/public/app/web_main.h"
9 9
10 namespace web { 10 namespace web {
11 11
12 // This class is responsible for web initialization and shutdown. 12 // This class is responsible for web initialization and shutdown.
13 class WebMainRunner { 13 class WebMainRunner {
14 public: 14 public:
15 virtual ~WebMainRunner() {} 15 virtual ~WebMainRunner() {}
16 16
17 // Create a new WebMainRunner object. 17 // Create a new WebMainRunner object.
18 static WebMainRunner* Create(); 18 static WebMainRunner* Create();
19 19
20 // Initialize all necessary web state. 20 // Initialize all necessary web state.
21 virtual int Initialize(const WebMainParams& params) = 0; 21 virtual int Initialize(const WebMainParams& params) = 0;
22 22
23 // Shut down the web state. 23 // Shut down the web state.
24 virtual void ShutDown() = 0; 24 virtual void ShutDown() = 0;
25 }; 25 };
26 26
27 } // namespace web 27 } // namespace web
28 28
29 #endif // IOS_WEB_APP_WEB_MAIN_RUNNER_H_ 29 #endif // IOS_WEB_PUBLIC_APP_WEB_MAIN_RUNNER_H_
OLDNEW
« no previous file with comments | « ios/web/public/app/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698