Index: ash/common/shelf/shelf_view.h |
diff --git a/ash/common/shelf/shelf_view.h b/ash/common/shelf/shelf_view.h |
index 9d4ac100463ae93c51db437a35db4ac764ee2aa9..a96c691d849619dd67aa77a1477324d8203050ba 100644 |
--- a/ash/common/shelf/shelf_view.h |
+++ b/ash/common/shelf/shelf_view.h |
@@ -54,10 +54,13 @@ namespace test { |
class ShelfViewTestAPI; |
} |
-extern const int SHELF_ALIGNMENT_UMA_ENUM_VALUE_BOTTOM; |
-extern const int SHELF_ALIGNMENT_UMA_ENUM_VALUE_LEFT; |
-extern const int SHELF_ALIGNMENT_UMA_ENUM_VALUE_RIGHT; |
-extern const int SHELF_ALIGNMENT_UMA_ENUM_VALUE_COUNT; |
+enum ShelfAlignmentUmaEnumValue { |
+ SHELF_ALIGNMENT_UMA_ENUM_VALUE_BOTTOM, |
+ SHELF_ALIGNMENT_UMA_ENUM_VALUE_LEFT, |
+ SHELF_ALIGNMENT_UMA_ENUM_VALUE_RIGHT, |
+ // Must be last entry in enum. |
+ SHELF_ALIGNMENT_UMA_ENUM_VALUE_COUNT, |
+}; |
class ASH_EXPORT ShelfView : public views::View, |
public ShelfModelObserver, |