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

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

Issue 12600018: ResourceScheduler should use renderer notifications instead of MRUCache to track renderers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reverse destruction order Created 7 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 | Annotate | Revision Log
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_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 public: 60 public:
61 RenderProcessHostImpl(BrowserContext* browser_context, 61 RenderProcessHostImpl(BrowserContext* browser_context,
62 StoragePartitionImpl* storage_partition_impl, 62 StoragePartitionImpl* storage_partition_impl,
63 bool is_guest); 63 bool is_guest);
64 virtual ~RenderProcessHostImpl(); 64 virtual ~RenderProcessHostImpl();
65 65
66 // RenderProcessHost implementation (public portion). 66 // RenderProcessHost implementation (public portion).
67 virtual void EnableSendQueue() OVERRIDE; 67 virtual void EnableSendQueue() OVERRIDE;
68 virtual bool Init() OVERRIDE; 68 virtual bool Init() OVERRIDE;
69 virtual int GetNextRoutingID() OVERRIDE; 69 virtual int GetNextRoutingID() OVERRIDE;
70 virtual void CancelResourceRequests(int render_widget_id) OVERRIDE;
71 virtual void SimulateSwapOutACK(const ViewMsg_SwapOut_Params& params) 70 virtual void SimulateSwapOutACK(const ViewMsg_SwapOut_Params& params)
72 OVERRIDE; 71 OVERRIDE;
73 virtual bool WaitForBackingStoreMsg(int render_widget_id, 72 virtual bool WaitForBackingStoreMsg(int render_widget_id,
74 const base::TimeDelta& max_delay, 73 const base::TimeDelta& max_delay,
75 IPC::Message* msg) OVERRIDE; 74 IPC::Message* msg) OVERRIDE;
76 virtual void ReceivedBadMessage() OVERRIDE; 75 virtual void ReceivedBadMessage() OVERRIDE;
77 virtual void WidgetRestored() OVERRIDE; 76 virtual void WidgetRestored() OVERRIDE;
78 virtual void WidgetHidden() OVERRIDE; 77 virtual void WidgetHidden() OVERRIDE;
79 virtual int VisibleWidgetCount() const OVERRIDE; 78 virtual int VisibleWidgetCount() const OVERRIDE;
80 virtual bool IsGuest() const OVERRIDE; 79 virtual bool IsGuest() const OVERRIDE;
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 // Forwards messages between WebRTCInternals in the browser process 311 // Forwards messages between WebRTCInternals in the browser process
313 // and PeerConnectionTracker in the renderer process. 312 // and PeerConnectionTracker in the renderer process.
314 scoped_refptr<PeerConnectionTrackerHost> peer_connection_tracker_host_; 313 scoped_refptr<PeerConnectionTrackerHost> peer_connection_tracker_host_;
315 314
316 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 315 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
317 }; 316 };
318 317
319 } // namespace content 318 } // namespace content
320 319
321 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 320 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_scheduler_unittest.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698