Chromium Code Reviews| Index: components/offline_content/core/offline_item_filter.h |
| diff --git a/components/offline_content/core/offline_item_filter.h b/components/offline_content/core/offline_item_filter.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..00e30c3a2c00daacc250b3c8c099d9f66fb42971 |
| --- /dev/null |
| +++ b/components/offline_content/core/offline_item_filter.h |
| @@ -0,0 +1,27 @@ |
| +// 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_CONTENT_CORE_OFFLINE_ITEM_FILTER_H_ |
| +#define COMPONENTS_OFFLINE_CONTENT_CORE_OFFLINE_ITEM_FILTER_H_ |
| + |
| +namespace offline_content { |
| + |
| +// A Java counterpart will be generated for this enum. |
| +// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.offline_content.core.item |
| +enum OfflineItemFilter { |
| + FILTER_ALL = 0, |
| + FILTER_PAGE = 1, |
|
qinmin
2017/02/14 07:37:20
remove all numbers here and below
David Trainor- moved to gerrit
2017/02/22 01:23:13
Done.
|
| + FILTER_VIDEO = 2, |
| + FILTER_AUDIO = 3, |
| + FILTER_IMAGE = 4, |
| + FILTER_DOCUMENT = 5, |
| + FILTER_OTHER = 6, |
| + |
| + // Maximum value. |
| + FILTER_BOUNDARY = 7, |
| +}; |
| + |
| +} // namespace offline_content |
| + |
| +#endif // COMPONENTS_OFFLINE_CONTENT_CORE_OFFLINE_ITEM_FILTER_H_ |