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

Unified Diff: chrome/browser/resources/google_now/utility.js

Issue 19749007: Processing timefences from the server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing manifest typo Created 7 years, 5 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: chrome/browser/resources/google_now/utility.js
diff --git a/chrome/browser/resources/google_now/utility.js b/chrome/browser/resources/google_now/utility.js
index 9405bdecc43f296fcdc592abd2df3aeb557e149f..1edc3bff9c8f1784c1de6eb8c28653565c1b919e 100644
--- a/chrome/browser/resources/google_now/utility.js
+++ b/chrome/browser/resources/google_now/utility.js
@@ -272,8 +272,8 @@ var storage = chrome.storage.local;
*/
function buildAttemptManager(
name, attempt, initialDelaySeconds, maximumDelaySeconds) {
- var alarmName = name + '-scheduler';
- var currentDelayStorageKey = name + '-current-delay';
+ var alarmName = 'attempt-scheduler-' + name;
+ var currentDelayStorageKey = 'current-delay-' + name;
/**
* Creates an alarm for the next attempt. The alarm is repeating for the case

Powered by Google App Engine
This is Rietveld 408576698