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

Unified Diff: cc/animation/animation_id_provider.h

Issue 13065006: cc: Add DISALLOW_COPY_AND_ASSIGN where appropriate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add operator= for DrawingState back as well 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/animation/scrollbar_animation_controller_linear_fade.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_id_provider.h
diff --git a/cc/animation/animation_id_provider.h b/cc/animation/animation_id_provider.h
index a8d3a5b04744e2f453920f54943f178adbad37fd..b403841315bcc0426d3676602d1bd11006b3f02d 100644
--- a/cc/animation/animation_id_provider.h
+++ b/cc/animation/animation_id_provider.h
@@ -5,6 +5,7 @@
#ifndef CC_ANIMATION_ANIMATION_ID_PROVIDER_H_
#define CC_ANIMATION_ANIMATION_ID_PROVIDER_H_
+#include "base/basictypes.h"
#include "cc/base/cc_export.h"
namespace cc {
@@ -14,6 +15,9 @@ class CC_EXPORT AnimationIdProvider {
// These functions each return monotonically increasing values.
static int NextAnimationId();
static int NextGroupId();
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(AnimationIdProvider);
};
} // namespace cc
« no previous file with comments | « no previous file | cc/animation/scrollbar_animation_controller_linear_fade.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698