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

Unified Diff: content/public/renderer/android/synchronous_compositor_client.h

Issue 15875009: Refactor SynchronousCompositor out of SynchronousCompositorOutputSurface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix rebase mistake Created 7 years, 7 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
Index: content/public/renderer/android/synchronous_compositor_client.h
diff --git a/content/public/renderer/android/synchronous_compositor_client.h b/content/public/renderer/android/synchronous_compositor_client.h
index 34b4d1b340c69e7cc8cb345152d147c4c1b35841..b123fdbf27df9cebfd96d5f350cbd3a4224b45a1 100644
--- a/content/public/renderer/android/synchronous_compositor_client.h
+++ b/content/public/renderer/android/synchronous_compositor_client.h
@@ -2,8 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSTIOR_CLIENT_H_
-#define CONTENT_PUBLIC_RENDERER_ANDROID_SYNCRHONOUS_COMPOSITOR_CLIENT_H_
+#ifndef CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_
+#define CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_
+
+#include "base/basictypes.h"
namespace content {
@@ -25,9 +27,13 @@ class SynchronousCompositorClient {
virtual void SetContinuousInvalidate(bool invalidate) = 0;
protected:
+ SynchronousCompositorClient() {}
virtual ~SynchronousCompositorClient() {}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorClient);
};
} // namespace content
-#endif // CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSTIOR_CLIENT_H_
+#endif // CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_
« no previous file with comments | « content/public/renderer/android/synchronous_compositor.h ('k') | content/renderer/android/synchronous_compositor_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698