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

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

Issue 107033002: Combining cards instead of merging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rgistafson's verbal comment Created 7 years 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 | « chrome/browser/resources/google_now/cards_unittest.gtestjs ('k') | 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/utility.js
diff --git a/chrome/browser/resources/google_now/utility.js b/chrome/browser/resources/google_now/utility.js
index 8214fefa04b45d6653ad266e7c4f1d4a208cf9ef..6674edf7754803d8a231179b383d8360daaed637 100644
--- a/chrome/browser/resources/google_now/utility.js
+++ b/chrome/browser/resources/google_now/utility.js
@@ -207,7 +207,7 @@ var wrapper = (function() {
* An instance of WrapperPlugin can have state that can be shared by its
* constructor, prologue() and epilogue(). Also WrapperPlugins can change
* state of other objects, for example, to do refcounting.
- * @type {function(): WrapperPlugin}
+ * @type {?function(): WrapperPlugin}
*/
var wrapperPluginFactory = null;
@@ -712,7 +712,7 @@ function buildAuthenticationManager() {
/**
* Removes the specified cached token.
* @param {string} token Authentication Token to remove from the cache.
- * @param {function} callback Called on completion.
+ * @param {function()} callback Called on completion.
*/
function removeToken(token, callback) {
instrumented.identity.removeCachedAuthToken({token: token}, function() {
@@ -727,7 +727,7 @@ function buildAuthenticationManager() {
/**
* Registers a listener that gets called back when the signed in state
* is found to be changed.
- * @param {function} callback Called when the answer to isSignedIn changes.
+ * @param {function()} callback Called when the answer to isSignedIn changes.
*/
function addListener(callback) {
listeners.push(callback);
« no previous file with comments | « chrome/browser/resources/google_now/cards_unittest.gtestjs ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698