OLD | NEW |
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 COMPONENTS_PROFILE_SERVICE_PROFILE_APP_H_ | 5 #ifndef COMPONENTS_PROFILE_SERVICE_PROFILE_APP_H_ |
6 #define COMPONENTS_PROFILE_SERVICE_PROFILE_APP_H_ | 6 #define COMPONENTS_PROFILE_SERVICE_PROFILE_APP_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "components/filesystem/lock_table.h" | 9 #include "components/filesystem/lock_table.h" |
10 #include "components/leveldb/public/interfaces/leveldb.mojom.h" | 10 #include "components/leveldb/public/interfaces/leveldb.mojom.h" |
11 #include "components/profile_service/public/interfaces/profile.mojom.h" | 11 #include "components/profile_service/public/interfaces/profile.mojom.h" |
12 #include "mojo/public/cpp/bindings/binding_set.h" | 12 #include "mojo/public/cpp/bindings/binding_set.h" |
13 #include "mojo/services/tracing/public/cpp/tracing_impl.h" | 13 #include "mojo/services/tracing/public/cpp/tracing_impl.h" |
14 #include "mojo/shell/public/cpp/interface_factory.h" | 14 #include "services/shell/public/cpp/interface_factory.h" |
15 #include "mojo/shell/public/cpp/shell_client.h" | 15 #include "services/shell/public/cpp/shell_client.h" |
16 | 16 |
17 namespace profile { | 17 namespace profile { |
18 | 18 |
19 scoped_ptr<mojo::ShellClient> CreateProfileApp( | 19 scoped_ptr<mojo::ShellClient> CreateProfileApp( |
20 scoped_refptr<base::SingleThreadTaskRunner> profile_service_runner, | 20 scoped_refptr<base::SingleThreadTaskRunner> profile_service_runner, |
21 scoped_refptr<base::SingleThreadTaskRunner> leveldb_service_runner); | 21 scoped_refptr<base::SingleThreadTaskRunner> leveldb_service_runner); |
22 | 22 |
23 // Application which hands off per-profile services. | 23 // Application which hands off per-profile services. |
24 // | 24 // |
25 // This Application serves ProfileService. In the future, this application will | 25 // This Application serves ProfileService. In the future, this application will |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 67 |
68 class LevelDBServiceObjects; | 68 class LevelDBServiceObjects; |
69 scoped_ptr<LevelDBServiceObjects> leveldb_objects_; | 69 scoped_ptr<LevelDBServiceObjects> leveldb_objects_; |
70 | 70 |
71 DISALLOW_COPY_AND_ASSIGN(ProfileApp); | 71 DISALLOW_COPY_AND_ASSIGN(ProfileApp); |
72 }; | 72 }; |
73 | 73 |
74 } // namespace profile | 74 } // namespace profile |
75 | 75 |
76 #endif // COMPONENTS_PROFILE_SERVICE_PROFILE_APP_H_ | 76 #endif // COMPONENTS_PROFILE_SERVICE_PROFILE_APP_H_ |
OLD | NEW |