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

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

Issue 429723005: Docserver: Only fetch content versions in the crons, not their contents. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 4 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_models.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_categorizer.py
diff --git a/chrome/common/extensions/docs/server2/api_categorizer.py b/chrome/common/extensions/docs/server2/api_categorizer.py
index 1daf828635525f5a101272595088784d3d5435dd..5916376f6c01d4151f62540a333341dd186df30c 100644
--- a/chrome/common/extensions/docs/server2/api_categorizer.py
+++ b/chrome/common/extensions/docs/server2/api_categorizer.py
@@ -16,7 +16,7 @@ class APICategorizer(object):
def __init__(self, file_system, compiled_fs_factory, platform):
self._file_system = file_system
self._cache = compiled_fs_factory.Create(file_system,
- self._CollectDocumentedAPIs,
+ self._AllDocumentedAPIs,
APICategorizer)
self._platform = platform
@@ -25,7 +25,7 @@ class APICategorizer(object):
posixpath.join(PUBLIC_TEMPLATES, self._platform) + '/').Get()
@SingleFile
- def _CollectDocumentedAPIs(self, base_dir, files):
+ def _AllDocumentedAPIs(self, base_dir, files):
public_templates = []
for root, _, files in self._file_system.Walk(base_dir):
public_templates.extend(posixpath.join(root, name) for name in files)
« no previous file with comments | « no previous file | chrome/common/extensions/docs/server2/api_models.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698