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

Side by Side Diff: appengine/swarming/ui/res/js/alias.js

Issue 2553563003: Link Swarming Tasklist and Botlist together (Closed)
Patch Set: Rebuild Created 4 years 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 | « appengine/swarming/ui/res/imp/taskpage/task-page.html ('k') | 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 2016 The LUCI Authors. All rights reserved. 1 // Copyright 2016 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 // TODO(kjlubick): add tests for this code 5 // TODO(kjlubick): add tests for this code
6 6
7 this.swarming = this.swarming || {}; 7 this.swarming = this.swarming || {};
8 this.swarming.alias = this.swarming.alias || (function(){ 8 this.swarming.alias = this.swarming.alias || (function(){
9 var ANDROID_ALIASES = { 9 var ANDROID_ALIASES = {
10 "angler": "Nexus 6p", 10 "angler": "Nexus 6p",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 "10de:11c0": "NVIDIA GeForce GTX 660", 50 "10de:11c0": "NVIDIA GeForce GTX 660",
51 "10de:1244": "NVIDIA GeForce GTX 550 Ti", 51 "10de:1244": "NVIDIA GeForce GTX 550 Ti",
52 "10de:1401": "NVIDIA GeForce GTX 960", 52 "10de:1401": "NVIDIA GeForce GTX 960",
53 "8086": "Intel", 53 "8086": "Intel",
54 "8086:0046": "Intel Ironlake HD Graphics", 54 "8086:0046": "Intel Ironlake HD Graphics",
55 "8086:0166": "Intel Ivy Bridge HD Graphics 4000", 55 "8086:0166": "Intel Ivy Bridge HD Graphics 4000",
56 "8086:0412": "Intel Haswell HD Graphics 4600", 56 "8086:0412": "Intel Haswell HD Graphics 4600",
57 "8086:041a": "Intel Haswell HD Graphics", 57 "8086:041a": "Intel Haswell HD Graphics",
58 "8086:0a2e": "Intel Haswell Iris Graphics 5100", 58 "8086:0a2e": "Intel Haswell Iris Graphics 5100",
59 "8086:0d26": "Intel Haswell Iris Pro Graphics 5200", 59 "8086:0d26": "Intel Haswell Iris Pro Graphics 5200",
60 "8086:1616": "Intel Broadwell HD Graphics 5500",
61 "8086:161e": "Intel Broadwell HD Graphics 5300",
60 "8086:1626": "Intel Broadwell HD Graphics 6000", 62 "8086:1626": "Intel Broadwell HD Graphics 6000",
61 "8086:162b": "Intel Broadwell Iris Graphics 6100", 63 "8086:162b": "Intel Broadwell Iris Graphics 6100",
62 "8086:1912": "Intel Skylake HD Graphics 530", 64 "8086:1912": "Intel Skylake HD Graphics 530",
63 "8086:22b1": "Intel Braswell HD Graphics", 65 "8086:22b1": "Intel Braswell HD Graphics",
64 } 66 }
65 67
66 // Taken from http://developer.android.com/reference/android/os/BatteryManager .html 68 // Taken from http://developer.android.com/reference/android/os/BatteryManager .html
67 var BATTERY_HEALTH_ALIASES = { 69 var BATTERY_HEALTH_ALIASES = {
68 1: "Unknown", 70 1: "Unknown",
69 2: "Good", 71 2: "Good",
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 143
142 var aliasMap = { 144 var aliasMap = {
143 "device_type": alias.android, 145 "device_type": alias.android,
144 "gpu": alias.gpu, 146 "gpu": alias.gpu,
145 "battery_health": alias.battery_health, 147 "battery_health": alias.battery_health,
146 "battery_status": alias.battery_status, 148 "battery_status": alias.battery_status,
147 } 149 }
148 150
149 return alias; 151 return alias;
150 })(); 152 })();
OLDNEW
« no previous file with comments | « appengine/swarming/ui/res/imp/taskpage/task-page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698