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

Unified Diff: remoting/host/capturer.h

Issue 5298001: Use VP8 over PseudoTCP by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed EventExecutor class. Created 10 years, 1 month 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 | « chrome/service/service_process.cc ('k') | remoting/host/capturer_gdi.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/capturer.h
diff --git a/remoting/host/capturer.h b/remoting/host/capturer.h
index 481b1f3b9d17b5b629b0c173adc016b13230f05c..548b685ef517b7e3cda698d45fae17e54b540bdd 100644
--- a/remoting/host/capturer.h
+++ b/remoting/host/capturer.h
@@ -44,9 +44,11 @@ class Capturer {
// CaptureCompletedCallback is called when the capturer has completed.
typedef Callback1<scoped_refptr<CaptureData> >::Type CaptureCompletedCallback;
- explicit Capturer(MessageLoop* message_loop);
virtual ~Capturer();
+ // Create platform-specific cpaturer.
+ static Capturer* Create(MessageLoop* message_loop);
+
// Called when the screen configuration is changed.
virtual void ScreenConfigurationChanged() = 0;
@@ -84,6 +86,8 @@ class Capturer {
virtual void CaptureInvalidRects(CaptureCompletedCallback* callback);
protected:
+ explicit Capturer(MessageLoop* message_loop);
+
// Update the list of |invalid_rects| to prepare for capturing the
// screen data.
// Depending on the platform implementation, this routine might:
« no previous file with comments | « chrome/service/service_process.cc ('k') | remoting/host/capturer_gdi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698