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

Unified Diff: gm/rebaseline_server/static/constants.js

Issue 195943004: rebaseline_server: generate JSON that can be viewed without a live server (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 9 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
Index: gm/rebaseline_server/static/constants.js
diff --git a/gm/rebaseline_server/static/constants.js b/gm/rebaseline_server/static/constants.js
index 00c185245887fae524823f114ae998c891385ce7..f795b6f4d6290c507c2db2c90dc0b13e63e00392 100644
--- a/gm/rebaseline_server/static/constants.js
+++ b/gm/rebaseline_server/static/constants.js
@@ -45,8 +45,16 @@ module.constant('constants', (function() {
KEY__EXTRACOLUMN__CONFIG: 'config',
KEY__EXTRACOLUMN__RESULT_TYPE: 'resultType',
KEY__EXTRACOLUMN__TEST: 'test',
+ KEY__HEADER: 'header',
+ KEY__HEADER__DATAHASH: 'dataHash',
+ KEY__HEADER__IS_EDITABLE: 'isEditable',
+ KEY__HEADER__IS_EXPORTED: 'isExported',
+ KEY__HEADER__IS_STILL_LOADING: 'resultsStillLoading',
KEY__HEADER__RESULTS_ALL: 'all',
KEY__HEADER__RESULTS_FAILURES: 'failures',
+ KEY__HEADER__TIME_NEXT_UPDATE_AVAILABLE: 'timeNextUpdateAvailable',
+ KEY__HEADER__TIME_UPDATED: 'timeUpdated',
+ KEY__HEADER__TYPE: 'type',
KEY__NEW_IMAGE_URL: 'newImageUrl',
KEY__RESULT_TYPE__FAILED: 'failed',
KEY__RESULT_TYPE__FAILUREIGNORED: 'failure-ignored',
@@ -57,13 +65,5 @@ module.constant('constants', (function() {
KEY__EDITS__MODIFICATIONS: 'modifications',
KEY__EDITS__OLD_RESULTS_HASH: 'oldResultsHash',
KEY__EDITS__OLD_RESULTS_TYPE: 'oldResultsType',
- KEY__HEADER: 'header',
- KEY__HEADER__DATAHASH: 'dataHash',
- KEY__HEADER__IS_EDITABLE: 'isEditable',
- KEY__HEADER__IS_EXPORTED: 'isExported',
- KEY__HEADER__IS_STILL_LOADING: 'resultsStillLoading',
- KEY__HEADER__TIME_NEXT_UPDATE_AVAILABLE: 'timeNextUpdateAvailable',
- KEY__HEADER__TIME_UPDATED: 'timeUpdated',
- KEY__HEADER__TYPE: 'type',
}
})())

Powered by Google App Engine
This is Rietveld 408576698