Index: components/ntp_snippets/content_suggestions_category_status.cc |
diff --git a/components/ntp_snippets/content_suggestions_category_status.cc b/components/ntp_snippets/content_suggestions_category_status.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7c7b86667303813763244c3cc5cecd5fea700859 |
--- /dev/null |
+++ b/components/ntp_snippets/content_suggestions_category_status.cc |
@@ -0,0 +1,15 @@ |
+// 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. |
+ |
+#include "components/ntp_snippets/content_suggestions_category_status.h" |
+ |
+namespace ntp_snippets { |
+ |
+bool IsContentSuggestionsCategoryStatusAvailable( |
+ ContentSuggestionsCategoryStatus status) { |
+ return status == ContentSuggestionsCategoryStatus::AVAILABLE_LOADING || |
+ status == ContentSuggestionsCategoryStatus::AVAILABLE; |
+} |
+ |
+} // namespace ntp_snippets |