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

Unified Diff: content/browser/renderer_host/render_message_filter.h

Issue 603083002: Remove foreground tab idle handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_message_filter.h
diff --git a/content/browser/renderer_host/render_message_filter.h b/content/browser/renderer_host/render_message_filter.h
index 5cec47da8e45264636ebd9acce97e564335dae90..9787eda40410498c7a1f9e11a788e88a045fd706 100644
--- a/content/browser/renderer_host/render_message_filter.h
+++ b/content/browser/renderer_host/render_message_filter.h
@@ -101,7 +101,6 @@ class CONTENT_EXPORT RenderMessageFilter : public BrowserMessageFilter {
// IPC::MessageFilter methods:
virtual void OnChannelClosing() OVERRIDE;
- virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
// BrowserMessageFilter methods:
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
@@ -214,8 +213,6 @@ class CONTENT_EXPORT RenderMessageFilter : public BrowserMessageFilter {
void OnCheckNotificationPermission(const GURL& source_origin,
int* permission_level);
- void OnGetCPUUsage(int* cpu_usage);
-
void OnGetAudioHardwareConfig(media::AudioParameters* input_params,
media::AudioParameters* output_params);
@@ -334,13 +331,6 @@ class CONTENT_EXPORT RenderMessageFilter : public BrowserMessageFilter {
std::set<OpenChannelToNpapiPluginCallback*> plugin_host_clients_;
- // Records the last time we sampled CPU usage of the renderer process.
- base::TimeTicks cpu_usage_sample_time_;
- // Records the last sampled CPU usage in percents.
- int cpu_usage_;
- // Used for sampling CPU usage of the renderer process.
- scoped_ptr<base::ProcessMetrics> process_metrics_;
-
media::AudioManager* audio_manager_;
MediaInternals* media_internals_;
« no previous file with comments | « no previous file | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698