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

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

Issue 2015643002: Add (optional) options to Run[Main]Application(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: doh Created 4 years, 7 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef MOJO_APPLICATION_RUN_APPLICATION_OPTIONS_CHROMIUM_H_
6 #define MOJO_APPLICATION_RUN_APPLICATION_OPTIONS_CHROMIUM_H_
7
8 #include "base/message_loop/message_loop.h"
9 #include "mojo/public/cpp/application/run_application.h"
10
11 namespace mojo {
12
13 // Options for the "chromium" implementation of |RunMainApplication()| and
14 // |RunApplication()|.
15 class RunApplicationOptionsChromium : public RunApplicationOptions {
16 public:
17 explicit RunApplicationOptionsChromium(
18 base::MessageLoop::Type message_loop_type)
19 : message_loop_type(message_loop_type) {}
20 ~RunApplicationOptionsChromium() {}
21
22 base::MessageLoop::Type message_loop_type;
23 };
24
25 } // namespace mojo
26
27 #endif // MOJO_APPLICATION_RUN_APPLICATION_OPTIONS_CHROMIUM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698