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

Side by Side Diff: content/public/renderer/render_thread.h

Issue 10454086: Histograms - Support histograms for Plugins, GPU (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « content/public/common/url_constants.cc ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_RENDERER_RENDER_THREAD_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 virtual void ScheduleIdleHandler(int64 initial_delay_ms) = 0; 97 virtual void ScheduleIdleHandler(int64 initial_delay_ms) = 0;
98 98
99 // A task we invoke periodically to assist with idle cleanup. 99 // A task we invoke periodically to assist with idle cleanup.
100 virtual void IdleHandler() = 0; 100 virtual void IdleHandler() = 0;
101 101
102 // Get/Set the delay for how often the idle handler is called. 102 // Get/Set the delay for how often the idle handler is called.
103 virtual int64 GetIdleNotificationDelayInMs() const = 0; 103 virtual int64 GetIdleNotificationDelayInMs() const = 0;
104 virtual void SetIdleNotificationDelayInMs( 104 virtual void SetIdleNotificationDelayInMs(
105 int64 idle_notification_delay_in_ms) = 0; 105 int64 idle_notification_delay_in_ms) = 0;
106 106
107 virtual void UpdateHistograms(int sequence_number) = 0;
108
107 #if defined(OS_WIN) 109 #if defined(OS_WIN)
108 // Request that the given font be loaded by the browser so it's cached by the 110 // Request that the given font be loaded by the browser so it's cached by the
109 // OS. Please see ChildProcessHost::PreCacheFont for details. 111 // OS. Please see ChildProcessHost::PreCacheFont for details.
110 virtual void PreCacheFont(const LOGFONT& log_font) = 0; 112 virtual void PreCacheFont(const LOGFONT& log_font) = 0;
111 113
112 // Release cached font. 114 // Release cached font.
113 virtual void ReleaseCachedFonts() = 0; 115 virtual void ReleaseCachedFonts() = 0;
114 #endif 116 #endif
115 }; 117 };
116 118
117 } // namespace content 119 } // namespace content
118 120
119 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ 121 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « content/public/common/url_constants.cc ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698