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

Side by Side Diff: services/authentication/dummy_authentication_app.cc

Issue 1388413005: Move //mojo/services/X/public/... to //mojo/services/X/... (part 1). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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 | « services/authentication/BUILD.gn ('k') | services/camera/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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "mojo/common/binding_set.h" 5 #include "mojo/common/binding_set.h"
6 #include "mojo/public/c/system/main.h" 6 #include "mojo/public/c/system/main.h"
7 #include "mojo/public/cpp/application/application_connection.h" 7 #include "mojo/public/cpp/application/application_connection.h"
8 #include "mojo/public/cpp/application/application_delegate.h" 8 #include "mojo/public/cpp/application/application_delegate.h"
9 #include "mojo/public/cpp/application/application_runner.h" 9 #include "mojo/public/cpp/application/application_runner.h"
10 #include "mojo/public/cpp/application/interface_factory.h" 10 #include "mojo/public/cpp/application/interface_factory.h"
11 #include "mojo/public/cpp/system/macros.h" 11 #include "mojo/public/cpp/system/macros.h"
12 #include "mojo/services/authentication/public/interfaces/authentication.mojom.h" 12 #include "mojo/services/authentication/interfaces/authentication.mojom.h"
13 13
14 namespace authentication { 14 namespace authentication {
15 namespace { 15 namespace {
16 16
17 class DummyAuthenticationApplication 17 class DummyAuthenticationApplication
18 : public mojo::ApplicationDelegate, 18 : public mojo::ApplicationDelegate,
19 public mojo::InterfaceFactory<AuthenticationService>, 19 public mojo::InterfaceFactory<AuthenticationService>,
20 public AuthenticationService { 20 public AuthenticationService {
21 public: 21 public:
22 DummyAuthenticationApplication() {} 22 DummyAuthenticationApplication() {}
(...skipping 30 matching lines...) Expand all
53 }; 53 };
54 54
55 } // namespace 55 } // namespace
56 } // namespace authentication 56 } // namespace authentication
57 57
58 MojoResult MojoMain(MojoHandle application_request) { 58 MojoResult MojoMain(MojoHandle application_request) {
59 mojo::ApplicationRunner runner( 59 mojo::ApplicationRunner runner(
60 new authentication::DummyAuthenticationApplication); 60 new authentication::DummyAuthenticationApplication);
61 return runner.Run(application_request); 61 return runner.Run(application_request);
62 } 62 }
OLDNEW
« no previous file with comments | « services/authentication/BUILD.gn ('k') | services/camera/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698