Index: chrome/browser/resources/google_now/background.js |
diff --git a/chrome/browser/resources/google_now/background.js b/chrome/browser/resources/google_now/background.js |
index a9d04d878a71e1dc880732de9a12af58e12ef2ab..2646154d2185a78e844486cf684ae670b7880fea 100644 |
--- a/chrome/browser/resources/google_now/background.js |
+++ b/chrome/browser/resources/google_now/background.js |
@@ -25,14 +25,14 @@ |
// TODO(vadimt): Report internal and server errors. Collect UMAs on errors where |
// appropriate. Also consider logging errors or throwing exceptions. |
-// TODO(vadimt): Figure out the server name. Use it in the manifest and for |
// TODO(vadimt): Consider processing errors for all storage.set calls. |
+// TODO(vadimt): Figure out the server name. Use it in the manifest and for |
// NOTIFICATION_CARDS_URL. Meanwhile, to use the feature, you need to manually |
-// edit NOTIFICATION_CARDS_URL before building Chrome. |
+// set the server name via local storage. |
/** |
* URL to retrieve notification cards. |
*/ |
-var NOTIFICATION_CARDS_URL = ''; |
+var NOTIFICATION_CARDS_URL = localStorage['server_url']; |
/** |
* Standard response code for successful HTTP requests. This is the only success |