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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 2387603003: Resume a backgrounded renderer that was purged and suspended (Closed)
Patch Set: Added transition: => RUNNING Created 4 years, 2 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_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 override; 167 override;
168 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override; 168 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override;
169 bool IsProcessBackgrounded() const override; 169 bool IsProcessBackgrounded() const override;
170 void IncrementServiceWorkerRefCount() override; 170 void IncrementServiceWorkerRefCount() override;
171 void DecrementServiceWorkerRefCount() override; 171 void DecrementServiceWorkerRefCount() override;
172 void IncrementSharedWorkerRefCount() override; 172 void IncrementSharedWorkerRefCount() override;
173 void DecrementSharedWorkerRefCount() override; 173 void DecrementSharedWorkerRefCount() override;
174 void ForceReleaseWorkerRefCounts() override; 174 void ForceReleaseWorkerRefCounts() override;
175 bool IsWorkerRefCountDisabled() override; 175 bool IsWorkerRefCountDisabled() override;
176 void PurgeAndSuspend() override; 176 void PurgeAndSuspend() override;
177 void Resume() override;
177 mojom::Renderer* GetRendererInterface() override; 178 mojom::Renderer* GetRendererInterface() override;
178 179
179 mojom::RouteProvider* GetRemoteRouteProvider(); 180 mojom::RouteProvider* GetRemoteRouteProvider();
180 181
181 // IPC::Sender via RenderProcessHost. 182 // IPC::Sender via RenderProcessHost.
182 bool Send(IPC::Message* msg) override; 183 bool Send(IPC::Message* msg) override;
183 184
184 // IPC::Listener via RenderProcessHost. 185 // IPC::Listener via RenderProcessHost.
185 bool OnMessageReceived(const IPC::Message& msg) override; 186 bool OnMessageReceived(const IPC::Message& msg) override;
186 void OnChannelConnected(int32_t peer_pid) override; 187 void OnChannelConnected(int32_t peer_pid) override;
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 instance_weak_factory_; 587 instance_weak_factory_;
587 588
588 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 589 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
589 590
590 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 591 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
591 }; 592 };
592 593
593 } // namespace content 594 } // namespace content
594 595
595 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 596 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698