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

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

Issue 337373004: Docserver: Replace instances of 'Api' with 'API' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/server2/api_data_source_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/server2/api_data_source.py
diff --git a/chrome/common/extensions/docs/server2/api_data_source.py b/chrome/common/extensions/docs/server2/api_data_source.py
index 26b038a541ad8fa07509ba3162a7f1bbe5ea5d06..bdcbf26cd526f38a58b9229fad45c27536637f52 100644
--- a/chrome/common/extensions/docs/server2/api_data_source.py
+++ b/chrome/common/extensions/docs/server2/api_data_source.py
@@ -115,12 +115,12 @@ class _JSCModel(object):
as_dict['byName'] = _GetByNameDict(as_dict)
return as_dict
- def _GetApiAvailability(self):
- return self._availability_finder.GetApiAvailability(self._namespace.name)
+ def _GetAPIAvailability(self):
+ return self._availability_finder.GetAPIAvailability(self._namespace.name)
def _GetChannelWarning(self):
if not self._IsExperimental():
- return { self._GetApiAvailability().channel_info.channel: True }
+ return { self._GetAPIAvailability().channel_info.channel: True }
return None
def _IsExperimental(self):
@@ -354,7 +354,7 @@ class _JSCModel(object):
version = None
scheduled = None
else:
- availability = self._GetApiAvailability()
+ availability = self._GetAPIAvailability()
status = availability.channel_info.channel
version = availability.channel_info.version
scheduled = availability.scheduled
« no previous file with comments | « no previous file | chrome/common/extensions/docs/server2/api_data_source_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698