OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef MOJO_SERVICES_PROFILE_PROFILE_SERVICE_IMPL_H_ | |
6 #define MOJO_SERVICES_PROFILE_PROFILE_SERVICE_IMPL_H_ | |
7 | |
8 #include "base/compiler_specific.h" | |
9 #include "mojo/public/cpp/system/macros.h" | |
10 #include "mojo/services/public/interfaces/profile/profile_service.mojom.h" | |
11 | |
12 namespace mojo { | |
13 | |
14 class ApplicationConnection; | |
15 | |
16 class ProfileServiceImpl : public InterfaceImpl<ProfileService> { | |
17 public: | |
18 ProfileServiceImpl(ApplicationConnection* connection); | |
19 virtual ~ProfileServiceImpl(); | |
20 | |
21 // |ProfileService| methods: | |
22 virtual void GetPath( | |
23 PathKey key, | |
24 const mojo::Callback<void(mojo::String)>& callback) | |
25 OVERRIDE; | |
26 | |
27 private: | |
28 MOJO_DISALLOW_COPY_AND_ASSIGN(ProfileServiceImpl); | |
29 }; | |
30 | |
31 } // namespace mojo | |
32 | |
33 #endif // MOJO_SERVICES_PROFILE_PROFILE_SERVICE_IMPL_H_ | |
OLD | NEW |