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

Side by Side Diff: mojo/application/run_application_options_chromium.h

Issue 2011383002: Get rid of {Run,Terminate}MainApplication(), and more ApplicationDelegate conversion. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 4 years, 6 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 | « mojo/application/run_application.cc ('k') | mojo/environment/BUILD.gn » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 MOJO_APPLICATION_RUN_APPLICATION_OPTIONS_CHROMIUM_H_ 5 #ifndef MOJO_APPLICATION_RUN_APPLICATION_OPTIONS_CHROMIUM_H_
6 #define MOJO_APPLICATION_RUN_APPLICATION_OPTIONS_CHROMIUM_H_ 6 #define MOJO_APPLICATION_RUN_APPLICATION_OPTIONS_CHROMIUM_H_
7 7
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "mojo/public/cpp/application/run_application.h" 9 #include "mojo/public/cpp/application/run_application.h"
10 10
11 namespace mojo { 11 namespace mojo {
12 12
13 // Options for the "chromium" implementation of |RunMainApplication()| and 13 // Options for the "chromium" implementation of |RunApplication()|.
14 // |RunApplication()|.
15 class RunApplicationOptionsChromium : public RunApplicationOptions { 14 class RunApplicationOptionsChromium : public RunApplicationOptions {
16 public: 15 public:
17 explicit RunApplicationOptionsChromium( 16 explicit RunApplicationOptionsChromium(
18 base::MessageLoop::Type message_loop_type) 17 base::MessageLoop::Type message_loop_type)
19 : message_loop_type(message_loop_type) {} 18 : message_loop_type(message_loop_type) {}
20 ~RunApplicationOptionsChromium() {} 19 ~RunApplicationOptionsChromium() {}
21 20
22 base::MessageLoop::Type message_loop_type; 21 base::MessageLoop::Type message_loop_type;
23 }; 22 };
24 23
25 } // namespace mojo 24 } // namespace mojo
26 25
27 #endif // MOJO_APPLICATION_RUN_APPLICATION_OPTIONS_CHROMIUM_H_ 26 #endif // MOJO_APPLICATION_RUN_APPLICATION_OPTIONS_CHROMIUM_H_
OLDNEW
« no previous file with comments | « mojo/application/run_application.cc ('k') | mojo/environment/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698