Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!-- | 1 <!-- |
| 2 Copyright 2014 The Chromium Authors. All rights reserved. | 2 Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. | 4 found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 | 6 |
| 7 <link rel='import' href='ct-repository.html'> | 7 <link rel='import' href='ct-repository.html'> |
| 8 | 8 |
| 9 <script> | 9 <script> |
| 10 function CTRepositories() { | 10 function CTRepositories() { |
| 11 // FIXME: Include skia once their commit messages have a numeric value we ca n use. | 11 // FIXME: Include skia once their commit messages have a numeric value we can use. |
| 12 // Right now it only has git hashes. | 12 // Right now it only has git hashes. |
| 13 this.repositories = { | 13 this.repositories = { |
| 14 blink: new CTRepository( | 14 blink: new CTRepository( |
| 15 'blink', | 15 'blink', |
| 16 'https://chromium.googlesource.com/chromium/blink/+log?format=json', | 16 'https://chromium.googlesource.com/chromium/blink/+log?format=json', |
| 17 'http://src.chromium.org/viewvc/blink?view=rev&revision={revision}') , | 17 'http://src.chromium.org/viewvc/blink?view=rev&revision={revision}'), |
| 18 chromium: new CTRepository( | 18 chromium: new CTRepository( |
| 19 'chromium', | 19 'chromium', |
| 20 'https://chromium.googlesource.com/chromium/src/+log?format=json', | 20 'https://chromium.googlesource.com/chromium/src/+log?format=json', |
| 21 'http://src.chromium.org/viewvc/chrome?view=rev&revision={revision}' ), | 21 'http://src.chromium.org/viewvc/chrome?view=rev&revision={revision}'), |
| 22 nacl: new CTRepository( | 22 nacl: new CTRepository( |
| 23 'nacl', | 23 'nacl', |
| 24 'https://chromium.googlesource.com/native_client/src/native_client/+ log/master?format=json', | 24 'https://chromium.googlesource.com/native_client/src/native_client/+lo g/master?format=json', |
| 25 'http://src.chromium.org/viewvc/native_client?view=rev&revision={rev ision}'), | 25 'http://src.chromium.org/viewvc/native_client?view=rev&revision={revis ion}'), |
| 26 v8: new CTRepository( | 26 v8: new CTRepository( |
| 27 'v8', | 27 'v8', |
| 28 'https://chromium.googlesource.com/external/v8/+log/master?format=js on', | 28 'https://chromium.googlesource.com/external/v8/+log/master?format=json ', |
| 29 'https://code.google.com/p/v8/source/detail?r={revision}'), | 29 'https://code.google.com/p/v8/source/detail?r={revision}'), |
| 30 }; | 30 }; |
| 31 this._names = Object.keys(this.repositories).sort(); | |
|
ojan
2014/08/21 17:51:29
Nit: no need for the getter. Lets just make the pr
Mathieu
2014/08/21 18:00:37
Done.
| |
| 31 } | 32 } |
| 33 | |
| 34 CTRepositories.prototype.names = function() { | |
| 35 return this._names; | |
| 36 }; | |
| 32 </script> | 37 </script> |
| OLD | NEW |