Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: components/offline_content/core/offline_item_filter.h

Issue 2690333002: Initial checkin of OfflineContentProvider. (Closed)
Patch Set: Addressing initial comments. Will move to new directory next. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..bb6f21583a0a2eb2166ac986da48bbaebdd81cac
--- /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,
+ FILTER_VIDEO,
+ FILTER_AUDIO,
+ FILTER_IMAGE,
+ FILTER_DOCUMENT,
+ FILTER_OTHER,
+
+ // Maximum value.
+ FILTER_BOUNDARY,
+};
+
+} // namespace offline_content
+
+#endif // COMPONENTS_OFFLINE_CONTENT_CORE_OFFLINE_ITEM_FILTER_H_

Powered by Google App Engine
This is Rietveld 408576698