Index: components/offline_items_collection/core/offline_item_progress_unit.h |
diff --git a/components/offline_items_collection/core/offline_item_progress_unit.h b/components/offline_items_collection/core/offline_item_progress_unit.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b70553550b94a080290184d5b58dff55e357774a |
--- /dev/null |
+++ b/components/offline_items_collection/core/offline_item_progress_unit.h |
@@ -0,0 +1,19 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_OFFLINE_ITEMS_COLLECTION_CORE_OFFLINE_ITEM_PROGRESS_UNIT_H_ |
+#define COMPONENTS_OFFLINE_ITEMS_COLLECTION_CORE_OFFLINE_ITEM_PROGRESS_UNIT_H_ |
+ |
+namespace offline_items_collection { |
+ |
+// A Java counterpart will be generated for this enum. |
+// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.components.offline_items_collection |
+enum OfflineItemProgressUnit { |
David Trainor- moved to gerrit
2017/05/03 22:06:32
Does this have to be in a separate file? Also, we
shaktisahu
2017/05/05 02:09:37
Done.
Enum class works fine with JNI generator. We
|
+ BYTES, |
+ FILES, |
+}; |
+ |
+} // namespace offline_items_collection |
+ |
+#endif // COMPONENTS_OFFLINE_ITEMS_COLLECTION_CORE_OFFLINE_ITEM_PROGRESS_UNIT_H_ |