Chromium Code Reviews| Index: chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsCategory.java |
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsCategory.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsCategory.java |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ccf68a0f8a58711ad431f28ff29f2d6aa951908a |
| --- /dev/null |
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsCategory.java |
| @@ -0,0 +1,14 @@ |
| +// Copyright 2016 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. |
| + |
| +package org.chromium.chrome.browser.ntp.snippets; |
| + |
| +import android.support.annotation.IntDef; |
| + |
| +import java.lang.annotation.Retention; |
| +import java.lang.annotation.RetentionPolicy; |
| + |
| +@IntDef({ContentSuggestionsCategory.ARTICLES, ContentSuggestionsCategory.OFFLINE_PAGES}) |
|
PEConn
2016/07/29 10:01:43
As an aside, I should hopefully soon be landing a
|
| +@Retention(RetentionPolicy.SOURCE) |
| +public @interface SuggestionsCategory {} |