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

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

Issue 51333004: Using a private API to determine if there is an account for the profile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 | « chrome/browser/resources/google_now/utility.js ('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_test_util.js
diff --git a/chrome/browser/resources/google_now/utility_test_util.js b/chrome/browser/resources/google_now/utility_test_util.js
index 6dae1d21f081a1b8778dc27259e8c72e9f9e66ec..d06f43c8e4958c36d0bb35a1fe868f36acf431ba 100644
--- a/chrome/browser/resources/google_now/utility_test_util.js
+++ b/chrome/browser/resources/google_now/utility_test_util.js
@@ -13,6 +13,9 @@ chrome['identity'] = {
getAuthToken: emptyMock,
removeCachedAuthToken: emptyMock
};
+chrome['webstorePrivate'] = {
+ getBrowserLogin: emptyMock
+};
mockChromeEvent(chrome, 'alarms.onAlarm');
mockChromeEvent(chrome, 'identity.onSignInChanged');
« no previous file with comments | « chrome/browser/resources/google_now/utility.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698