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

Side by Side Diff: content/public/child/child_thread.h

Issue 2832633002: Add PDF compositor service (Closed)
Patch Set: rebase Created 3 years, 7 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PUBLIC_CHILD_CHILD_THREAD_H_ 5 #ifndef CONTENT_PUBLIC_CHILD_CHILD_THREAD_H_
6 #define CONTENT_PUBLIC_CHILD_CHILD_THREAD_H_ 6 #define CONTENT_PUBLIC_CHILD_CHILD_THREAD_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/logging.h" 10 #include "base/memory/ref_counted.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "ipc/ipc_sender.h" 13 #include "ipc/ipc_sender.h"
14 14
15 #if defined(OS_WIN) 15 #if defined(OS_WIN)
16 #include <windows.h> 16 #include <windows.h>
17 #endif 17 #endif
18 18
19 namespace base { 19 namespace base {
20 class SingleThreadTaskRunner;
20 struct UserMetricsAction; 21 struct UserMetricsAction;
21 } 22 }
22 23
23 namespace service_manager { 24 namespace service_manager {
24 class Connector; 25 class Connector;
25 } 26 }
26 27
27 namespace content { 28 namespace content {
28 29
29 class ServiceManagerConnection; 30 class ServiceManagerConnection;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // actions in chrome/tools/extract_actions.py. 67 // actions in chrome/tools/extract_actions.py.
67 virtual void RecordComputedAction(const std::string& action) = 0; 68 virtual void RecordComputedAction(const std::string& action) = 0;
68 69
69 // Returns the ServiceManagerConnection for the thread (from which a 70 // Returns the ServiceManagerConnection for the thread (from which a
70 // service_manager::Connector can be obtained). 71 // service_manager::Connector can be obtained).
71 virtual ServiceManagerConnection* GetServiceManagerConnection() = 0; 72 virtual ServiceManagerConnection* GetServiceManagerConnection() = 0;
72 73
73 // Returns a connector that can be used to bind interfaces exposed by other 74 // Returns a connector that can be used to bind interfaces exposed by other
74 // services. 75 // services.
75 virtual service_manager::Connector* GetConnector() = 0; 76 virtual service_manager::Connector* GetConnector() = 0;
77
78 virtual scoped_refptr<base::SingleThreadTaskRunner> GetIOTaskRunner() = 0;
76 }; 79 };
77 80
78 } // namespace content 81 } // namespace content
79 82
80 #endif // CONTENT_PUBLIC_CHILD_CHILD_THREAD_H_ 83 #endif // CONTENT_PUBLIC_CHILD_CHILD_THREAD_H_
OLDNEW
« no previous file with comments | « content/public/app/mojo/content_browser_manifest.json ('k') | content/public/renderer/render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698