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

Side by Side Diff: content/child/child_thread_impl.h

Issue 2717213004: Move SharedBitmapManager implementation out of content/ (Closed)
Patch Set: rebase 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
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_CHILD_CHILD_THREAD_IMPL_H_ 5 #ifndef CONTENT_CHILD_CHILD_THREAD_IMPL_H_
6 #define CONTENT_CHILD_CHILD_THREAD_IMPL_H_ 6 #define CONTENT_CHILD_CHILD_THREAD_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 const service_manager::ServiceInfo& GetChildServiceInfo() const; 104 const service_manager::ServiceInfo& GetChildServiceInfo() const;
105 const service_manager::ServiceInfo& GetBrowserServiceInfo() const; 105 const service_manager::ServiceInfo& GetBrowserServiceInfo() const;
106 bool IsConnectedToBrowser() const; 106 bool IsConnectedToBrowser() const;
107 107
108 IPC::SyncChannel* channel() { return channel_.get(); } 108 IPC::SyncChannel* channel() { return channel_.get(); }
109 109
110 IPC::MessageRouter* GetRouter(); 110 IPC::MessageRouter* GetRouter();
111 111
112 mojom::RouteProvider* GetRemoteRouteProvider(); 112 mojom::RouteProvider* GetRemoteRouteProvider();
113 113
114 // Allocates a block of shared memory of the given size. Returns nullptr on
115 // failure.
116 static std::unique_ptr<base::SharedMemory> AllocateSharedMemory(
117 size_t buf_size);
118
119 #if defined(OS_LINUX) 114 #if defined(OS_LINUX)
120 void SetThreadPriority(base::PlatformThreadId id, 115 void SetThreadPriority(base::PlatformThreadId id,
121 base::ThreadPriority priority); 116 base::ThreadPriority priority);
122 #endif 117 #endif
123 118
124 ResourceDispatcher* resource_dispatcher() const { 119 ResourceDispatcher* resource_dispatcher() const {
125 return resource_dispatcher_.get(); 120 return resource_dispatcher_.get();
126 } 121 }
127 122
128 FileSystemDispatcher* file_system_dispatcher() const { 123 FileSystemDispatcher* file_system_dispatcher() const {
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 334
340 private: 335 private:
341 struct Options options_; 336 struct Options options_;
342 337
343 DISALLOW_COPY_AND_ASSIGN(Builder); 338 DISALLOW_COPY_AND_ASSIGN(Builder);
344 }; 339 };
345 340
346 } // namespace content 341 } // namespace content
347 342
348 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ 343 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698