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

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

Issue 14057020: Small improvement of diagnostics. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a51529cd01fef8a9fb13c5f09cffc0ace48590ee..161601f090ecf15b2972af2208075a50c942de8e 100644
--- a/chrome/browser/resources/google_now/background.js
+++ b/chrome/browser/resources/google_now/background.js
@@ -285,7 +285,8 @@ function parseAndShowNotificationCards(response, callback) {
* @param {function()} callback Completion callback.
*/
function requestNotificationCards(requestParameters, callback) {
- console.log('requestNotificationCards ' + requestParameters);
+ console.log('requestNotificationCards ' + requestParameters + ' from ' +
+ NOTIFICATION_CARDS_URL);
recordEvent(DiagnosticEvent.REQUEST_FOR_CARDS_TOTAL);
// TODO(vadimt): Figure out how to send user's identity to the server.
var request = new XMLHttpRequest();
@@ -376,7 +377,8 @@ function updateNotificationsCards() {
* parameter.
*/
function requestCardDismissal(notificationId, callbackBoolean) {
- console.log('requestDismissingCard ' + notificationId);
+ console.log('requestDismissingCard ' + notificationId + ' from ' +
+ NOTIFICATION_CARDS_URL);
recordEvent(DiagnosticEvent.DISMISS_REQUEST_TOTAL);
// Send a dismiss request to the server.
var requestParameters = 'id=' + notificationId;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698