forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cronet] Enforce Cronet API never modified, only grown
Enforce that the Cronet API classes and methods are never modified or removed, only added. Modifying or removing an API class or method breaks backwards compatibility. This is enforced by: 1. Keep an updated dump of the Cronet API in components/cronet/android/api.txt 2. When building check that the Cronet API matches that in api.txt 3. Provide a script for updating api.txt; this script also enforces that only additions are made to the API. This change also maintains a version number for the Cronet API. Cronet can use this to enforce, for example that the Cronet implementation is at least as new as the Cronet API being used. BUG=629299 R=kapishnikov CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester Review-Url: https://codereview.chromium.org/2544043002 Cr-Commit-Position: refs/heads/master@{#441455}
- Loading branch information
1 parent
f5e07b7
commit 2a6ee08
Showing
7 changed files
with
649 additions
and
39 deletions.
There are no files selected for viewing
Empty file.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
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.