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

Side by Side Diff: content/public/browser/utility_process_host.h

Issue 2653963002: [Experimental] Supporting OOPIF printing
Patch Set: Rename service, fix for webview, and connect to DiscardableMemoryManager Created 3 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_UTILITY_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_
7 7
8 #include "base/environment.h" 8 #include "base/environment.h"
9 #include "base/process/launch.h" 9 #include "base/process/launch.h"
10 #include "base/threading/thread.h" 10 #include "base/threading/thread.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 #endif 80 #endif
81 81
82 // Starts the utility process. 82 // Starts the utility process.
83 virtual bool Start() = 0; 83 virtual bool Start() = 0;
84 84
85 // Returns the service_manager::InterfaceProvider the browser process can use 85 // Returns the service_manager::InterfaceProvider the browser process can use
86 // to bind 86 // to bind
87 // interfaces exposed to it from the utility process. 87 // interfaces exposed to it from the utility process.
88 virtual service_manager::InterfaceProvider* GetRemoteInterfaces() = 0; 88 virtual service_manager::InterfaceProvider* GetRemoteInterfaces() = 0;
89 89
90 // Register mojo services that the utility process can use.
91 virtual void RegisterMojoServices() = 0;
92
90 // Set the name of the process to appear in the task manager. 93 // Set the name of the process to appear in the task manager.
91 virtual void SetName(const base::string16& name) = 0; 94 virtual void SetName(const base::string16& name) = 0;
95
96 protected:
97 class ConnectionFilterImpl;
92 }; 98 };
93 99
94 }; // namespace content 100 }; // namespace content
95 101
96 #endif // CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_ 102 #endif // CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/print_subframe_details.h ('k') | content/public/renderer/render_frame_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698