Pass CreateDirectory errors up to IndexedDB.
[chromium-blink-merge.git] / cc / animation / animation_id_provider.h
blobb403841315bcc0426d3676602d1bd11006b3f02d
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CC_ANIMATION_ANIMATION_ID_PROVIDER_H_
6 #define CC_ANIMATION_ANIMATION_ID_PROVIDER_H_
8 #include "base/basictypes.h"
9 #include "cc/base/cc_export.h"
11 namespace cc {
13 class CC_EXPORT AnimationIdProvider {
14 public:
15 // These functions each return monotonically increasing values.
16 static int NextAnimationId();
17 static int NextGroupId();
19 private:
20 DISALLOW_IMPLICIT_CONSTRUCTORS(AnimationIdProvider);
23 } // namespace cc
25 #endif // CC_ANIMATION_ANIMATION_ID_PROVIDER_H_