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

Unified Diff: chrome/common/extensions/docs/server2/branch_utility.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: Cleans up style 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/branch_utility.py
diff --git a/chrome/common/extensions/docs/server2/branch_utility.py b/chrome/common/extensions/docs/server2/branch_utility.py
index 49fd11f1459094c50577a76840a5c9624ac19641..75df5c9de9f6d545025aad055f4b63ce786b7afa 100644
--- a/chrome/common/extensions/docs/server2/branch_utility.py
+++ b/chrome/common/extensions/docs/server2/branch_utility.py
@@ -19,7 +19,7 @@ class ChannelInfo(object):
identify a channel.
'''
- def __init__(self, channel, branch, version):
+ def __init__(self, channel, branch, version, scheduled=None):
assert isinstance(channel, basestring), channel
assert isinstance(branch, basestring), branch
# TODO(kalman): Assert that this is a string. One day Chromium will probably
@@ -28,6 +28,7 @@ class ChannelInfo(object):
self.channel = channel
self.branch = branch
self.version = version
+ self.scheduled = scheduled
not at google - send to devlin 2014/04/25 23:15:58 this isn't really the right place for this. Channe
def __eq__(self, other):
return self.__dict__ == other.__dict__

Powered by Google App Engine
This is Rietveld 408576698