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

Side by Side Diff: ash/mojo_interface_factory.h

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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 | « ash/metrics/user_metrics_recorder_unittest.cc ('k') | ash/mojo_interface_factory.cc » ('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 2016 The Chromium Authors. All rights reserved. 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 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 ASH_COMMON_MOJO_INTERFACE_FACTORY_H_ 5 #ifndef ASH_MOJO_INTERFACE_FACTORY_H_
6 #define ASH_COMMON_MOJO_INTERFACE_FACTORY_H_ 6 #define ASH_MOJO_INTERFACE_FACTORY_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 11
12 namespace base { 12 namespace base {
13 class SingleThreadTaskRunner; 13 class SingleThreadTaskRunner;
14 } 14 }
15 15
16 namespace service_manager { 16 namespace service_manager {
17 class InterfaceRegistry; 17 class InterfaceRegistry;
18 } 18 }
19 19
20 namespace ash { 20 namespace ash {
21 21
22 namespace mojo_interface_factory { 22 namespace mojo_interface_factory {
23 23
24 // Registers all mojo services provided by ash. May be called on IO thread 24 // Registers all mojo services provided by ash. May be called on IO thread
25 // (when running ash in-process in chrome) or on the main thread (when running 25 // (when running ash in-process in chrome) or on the main thread (when running
26 // in mash). 26 // in mash).
27 ASH_EXPORT void RegisterInterfaces( 27 ASH_EXPORT void RegisterInterfaces(
28 service_manager::InterfaceRegistry* registry, 28 service_manager::InterfaceRegistry* registry,
29 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner); 29 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner);
30 30
31 } // namespace mojo_interface_factory 31 } // namespace mojo_interface_factory
32 32
33 } // namespace ash 33 } // namespace ash
34 34
35 #endif // ASH_COMMON_MOJO_INTERFACE_FACTORY_H_ 35 #endif // ASH_MOJO_INTERFACE_FACTORY_H_
OLDNEW
« no previous file with comments | « ash/metrics/user_metrics_recorder_unittest.cc ('k') | ash/mojo_interface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698