Index: ash/common/shelf/shelf_view.h |
diff --git a/ash/common/shelf/shelf_view.h b/ash/common/shelf/shelf_view.h |
index 860dbe8e87c4423e207fbc8f4229cbf5ac75d977..b08beaa73a146b7b3a262caa6761e7f6606f45fe 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, |