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

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

Issue 21661003: Instrumenting missing API calls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rgustafson@'s comments. 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/background.js
diff --git a/chrome/browser/resources/google_now/background.js b/chrome/browser/resources/google_now/background.js
index e7a94a5f315935654bcdcf579cb37eac3fac053e..818e3213ca0ae69430774e086d54a0045bc8e98d 100644
--- a/chrome/browser/resources/google_now/background.js
+++ b/chrome/browser/resources/google_now/background.js
@@ -129,6 +129,10 @@ tasks.instrumentApiFunction(
tasks.instrumentApiFunction(chrome.notifications.onClicked, 'addListener', 0);
tasks.instrumentApiFunction(chrome.notifications.onClosed, 'addListener', 0);
tasks.instrumentApiFunction(
+ googleGeolocationAccessEnabledPref,
+ 'get',
+ 1);
+tasks.instrumentApiFunction(
googleGeolocationAccessEnabledPref.onChange,
'addListener',
0);
« no previous file with comments | « no previous file | chrome/browser/resources/google_now/utility.js » ('j') | chrome/browser/resources/google_now/utility.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698