OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // 'use strict'; TODO(vadimt): Uncomment once crbug.com/237617 is fixed. | 5 'use strict'; |
6 | 6 |
7 // TODO(vadimt): Remove alerts. | 7 // TODO(vadimt): Remove alerts. |
8 | 8 |
9 /** | 9 /** |
10 * @fileoverview Utility objects and functions for Google Now extension. | 10 * @fileoverview Utility objects and functions for Google Now extension. |
11 */ | 11 */ |
12 | 12 |
13 // TODO(vadimt): Figure out the server name. Use it in the manifest and for | 13 // TODO(vadimt): Figure out the server name. Use it in the manifest and for |
14 // NOTIFICATION_CARDS_URL. Meanwhile, to use the feature, you need to manually | 14 // NOTIFICATION_CARDS_URL. Meanwhile, to use the feature, you need to manually |
15 // set the server name via local storage. | 15 // set the server name via local storage. |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 if (alarm.name == alarmName) | 353 if (alarm.name == alarmName) |
354 attempt(); | 354 attempt(); |
355 }); | 355 }); |
356 | 356 |
357 return { | 357 return { |
358 start: start, | 358 start: start, |
359 planForNext: planForNext, | 359 planForNext: planForNext, |
360 stop: stop | 360 stop: stop |
361 }; | 361 }; |
362 } | 362 } |
OLD | NEW |