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

Unified Diff: chrome/common/extensions/docs/server2/whats_new_data_source.py

Issue 255473003: docserver: Adds "API scheduled for Chrome version..." text to dev and beta APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moves "scheduled for..." text into intro_table.html Created 6 years, 8 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: chrome/common/extensions/docs/server2/whats_new_data_source.py
diff --git a/chrome/common/extensions/docs/server2/whats_new_data_source.py b/chrome/common/extensions/docs/server2/whats_new_data_source.py
index 7d67a204b0760b68afea0aa106c0bbcf696b0d8c..6055a74729cca2c4fd214c6d0157fa55b6550cb6 100644
--- a/chrome/common/extensions/docs/server2/whats_new_data_source.py
+++ b/chrome/common/extensions/docs/server2/whats_new_data_source.py
@@ -36,7 +36,8 @@ class WhatsNewDataSource(DataSource):
version = None
category = self._api_categorizer.GetCategory(platform, api_name)
if category == 'chrome':
- channel_info = self._availability_finder.GetApiAvailability(api_name)
+ channel_info = self._availability_finder.GetApiAvailability(
+ api_name).channel_info
channel = channel_info.channel
if channel == 'stable':
version = channel_info.version

Powered by Google App Engine
This is Rietveld 408576698