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_SHELL_DYNAMIC_SERVICE_RUNNER_H_ | 5 #ifndef SHELL_DYNAMIC_SERVICE_RUNNER_H_ |
6 #define MOJO_SHELL_DYNAMIC_SERVICE_RUNNER_H_ | 6 #define SHELL_DYNAMIC_SERVICE_RUNNER_H_ |
7 | 7 |
8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/native_library.h" | 10 #include "base/native_library.h" |
11 #include "mojo/public/cpp/system/core.h" | 11 #include "mojo/public/cpp/system/core.h" |
12 | 12 |
13 namespace base { | 13 namespace base { |
14 class FilePath; | 14 class FilePath; |
15 } | 15 } |
16 | 16 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 virtual ~DynamicServiceRunnerFactoryImpl() {} | 56 virtual ~DynamicServiceRunnerFactoryImpl() {} |
57 virtual scoped_ptr<DynamicServiceRunner> Create(Context* context) override { | 57 virtual scoped_ptr<DynamicServiceRunner> Create(Context* context) override { |
58 return scoped_ptr<DynamicServiceRunner>( | 58 return scoped_ptr<DynamicServiceRunner>( |
59 new DynamicServiceRunnerImpl(context)); | 59 new DynamicServiceRunnerImpl(context)); |
60 } | 60 } |
61 }; | 61 }; |
62 | 62 |
63 } // namespace shell | 63 } // namespace shell |
64 } // namespace mojo | 64 } // namespace mojo |
65 | 65 |
66 #endif // MOJO_SHELL_DYNAMIC_SERVICE_RUNNER_H_ | 66 #endif // SHELL_DYNAMIC_SERVICE_RUNNER_H_ |
OLD | NEW |