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

Side by Side Diff: chrome/common/extensions/docs/server2/availability_finder.py

Issue 407613002: Docserver: Add TODO for implementing scheduled availability at the object level (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import posixpath 5 import posixpath
6 6
7 from api_schema_graph import APISchemaGraph 7 from api_schema_graph import APISchemaGraph
8 from branch_utility import BranchUtility, ChannelInfo 8 from branch_utility import BranchUtility, ChannelInfo
9 from compiled_file_system import CompiledFileSystem, SingleFile, Unicode 9 from compiled_file_system import CompiledFileSystem, SingleFile, Unicode
10 from extensions_paths import API_PATHS, JSON_TEMPLATES 10 from extensions_paths import API_PATHS, JSON_TEMPLATES
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 previous.graph = version_graph 371 previous.graph = version_graph
372 372
373 # Continue looping until there are no longer differences between this 373 # Continue looping until there are no longer differences between this
374 # version and trunk. 374 # version and trunk.
375 return version_stat != trunk_stat 375 return version_stat != trunk_stat
376 376
377 self._file_system_iterator.Ascending( 377 self._file_system_iterator.Ascending(
378 self.GetAPIAvailability(api_name).channel_info, 378 self.GetAPIAvailability(api_name).channel_info,
379 update_availability_graph) 379 update_availability_graph)
380 380
381 # TODO(ahernandez): There are currently no API nodes that have a
382 # scheduled availability. https://codereview.chromium.org/400833002/
383 # should be implemented when there is a need to determine scheduled
384 # availability at the object level.
381 self._node_level_object_store.Set(api_name, availability_graph) 385 self._node_level_object_store.Set(api_name, availability_graph)
382 return availability_graph 386 return availability_graph
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698