-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ContentDatabase/AjaxRequest circular dep.
The circular dependency, ContentDatabase -> RangeRequest -> AjaxRequest -> ContentDatabase, causes issues for the upstream Closure compiler. This patch breaks that cycle by factoring out reading and writing operations from ContentDatabase into ContentDatabaseReader and ContentDatabaseWriter respectively. The following minor changes have been made to code that has moved: * Removed retrieveInitSegment() since it's not used. * Changed .stream_ids to ['stream_ids'] in retriveGroup(). * Reworked deleteGroup() so that it doesn't depend on retrieveGroup(). * Made deleteStream() private. * Made minor formatting changes to meet the 80 character limit. Change-Id: Idfc5d04ad32225a915b1531e0f4205137de5cc73
- Loading branch information
Timothy Drews
committed
Aug 10, 2015
1 parent
94937d7
commit 7623b58
Showing
7 changed files
with
766 additions
and
709 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.