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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 2138263002: Revert of Move content's shell connections to the IO thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 void Shutdown() override; 159 void Shutdown() override;
160 160
161 // When initializing WebKit, ensure that any schemes needed for the content 161 // When initializing WebKit, ensure that any schemes needed for the content
162 // module are registered properly. Static to allow sharing with tests. 162 // module are registered properly. Static to allow sharing with tests.
163 static void RegisterSchemes(); 163 static void RegisterSchemes();
164 164
165 // Notify V8 that the date/time configuration of the system might have 165 // Notify V8 that the date/time configuration of the system might have
166 // changed. 166 // changed.
167 static void NotifyTimezoneChange(); 167 static void NotifyTimezoneChange();
168 168
169 // ChildThreadImpl implementation:
170 void AddConnectionFilters(MojoShellConnection* connection) override;
171
172 // RenderThread implementation: 169 // RenderThread implementation:
173 bool Send(IPC::Message* msg) override; 170 bool Send(IPC::Message* msg) override;
174 IPC::SyncChannel* GetChannel() override; 171 IPC::SyncChannel* GetChannel() override;
175 std::string GetLocale() override; 172 std::string GetLocale() override;
176 IPC::SyncMessageFilter* GetSyncMessageFilter() override; 173 IPC::SyncMessageFilter* GetSyncMessageFilter() override;
177 scoped_refptr<base::SingleThreadTaskRunner> GetIOTaskRunner() override; 174 scoped_refptr<base::SingleThreadTaskRunner> GetIOTaskRunner() override;
178 void AddRoute(int32_t routing_id, IPC::Listener* listener) override; 175 void AddRoute(int32_t routing_id, IPC::Listener* listener) override;
179 void RemoveRoute(int32_t routing_id) override; 176 void RemoveRoute(int32_t routing_id) override;
180 int GenerateRoutingID() override; 177 int GenerateRoutingID() override;
181 void AddFilter(IPC::MessageFilter* filter) override; 178 void AddFilter(IPC::MessageFilter* filter) override;
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 699 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
703 }; 700 };
704 701
705 #if defined(COMPILER_MSVC) 702 #if defined(COMPILER_MSVC)
706 #pragma warning(pop) 703 #pragma warning(pop)
707 #endif 704 #endif
708 705
709 } // namespace content 706 } // namespace content
710 707
711 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 708 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/mus/render_widget_window_tree_client_factory.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698