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