| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |