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

Side by Side Diff: content/common/service_manager/child_connection.h

Issue 2537513006: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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
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 CONTENT_COMMON_SERVICE_MANAGER_CHILD_CONNECTION_H_ 5 #ifndef CONTENT_COMMON_SERVICE_MANAGER_CHILD_CONNECTION_H_
6 #define CONTENT_COMMON_SERVICE_MANAGER_CHILD_CONNECTION_H_ 6 #define CONTENT_COMMON_SERVICE_MANAGER_CHILD_CONNECTION_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/process/process_handle.h" 14 #include "base/process/process_handle.h"
15 #include "base/sequenced_task_runner.h" 15 #include "base/sequenced_task_runner.h"
16 #include "content/common/content_export.h" 16 #include "content/common/content_export.h"
17 #include "services/service_manager/public/cpp/identity.h" 17 #include "services/service_manager/public/cpp/identity.h"
18 #include "services/service_manager/public/cpp/interface_provider.h" 18 #include "services/service_manager/public/cpp/interface_provider.h"
19 #include "services/service_manager/public/interfaces/connector.mojom.h" 19 #include "services/service_manager/public/interfaces/connector.mojom.h"
20 20
21 namespace service_manager { 21 namespace service_manager {
22 class Connection;
23 class Connector; 22 class Connector;
24 } 23 }
25 24
26 namespace content { 25 namespace content {
27 26
28 // Helper class to establish a connection between the Service Manager and a 27 // Helper class to establish a connection between the Service Manager and a
29 // single child process. Process hosts can use this when launching new processes 28 // single child process. Process hosts can use this when launching new processes
30 // which should be registered with the service manager. 29 // which should be registered with the service manager.
31 class CONTENT_EXPORT ChildConnection { 30 class CONTENT_EXPORT ChildConnection {
32 public: 31 public:
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 service_manager::InterfaceProvider remote_interfaces_; 68 service_manager::InterfaceProvider remote_interfaces_;
70 69
71 base::WeakPtrFactory<ChildConnection> weak_factory_; 70 base::WeakPtrFactory<ChildConnection> weak_factory_;
72 71
73 DISALLOW_COPY_AND_ASSIGN(ChildConnection); 72 DISALLOW_COPY_AND_ASSIGN(ChildConnection);
74 }; 73 };
75 74
76 } // namespace content 75 } // namespace content
77 76
78 #endif // CONTENT_COMMON_SERVICE_MANAGER_CHILD_CONNECTION_H_ 77 #endif // CONTENT_COMMON_SERVICE_MANAGER_CHILD_CONNECTION_H_
OLDNEW
« no previous file with comments | « content/common/indexed_db/indexed_db_key.cc ('k') | content/public/browser/render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698