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

Issue 21661003: Instrumenting missing API calls (Closed)

Created:
7 years, 4 months ago by vadimt
Modified:
7 years, 4 months ago
CC:
chromium-reviews, arv+watch_chromium.org
Visibility:
Public.

Description

Instrumenting missing API calls. Adding a framework to detect cases when a developer forgets to instrument API calls. Since all our code should execute in instrumented callbacks, 'tasks' check that we are in an instrumented callback at qualifying entrypoints. Adding missing instrumentations. BUG=164227 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215444

Patch Set 1 #

Total comments: 5

Patch Set 2 : rgustafson@'s comments. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -6 lines) Patch
M chrome/browser/resources/google_now/background.js View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/google_now/utility.js View 1 5 chunks +37 lines, -6 lines 2 comments Download

Messages

Total messages: 9 (0 generated)
vadimt
7 years, 4 months ago (2013-08-02 00:13:11 UTC) #1
rgustafson
https://codereview.chromium.org/21661003/diff/1/chrome/browser/resources/google_now/utility.js File chrome/browser/resources/google_now/utility.js (right): https://codereview.chromium.org/21661003/diff/1/chrome/browser/resources/google_now/utility.js#newcode93 chrome/browser/resources/google_now/utility.js:93: function checkInstrumentedCallback() { checkInInstrumentedCallback https://codereview.chromium.org/21661003/diff/1/chrome/browser/resources/google_now/utility.js#newcode100 chrome/browser/resources/google_now/utility.js:100: alert(error); This alert ...
7 years, 4 months ago (2013-08-02 18:43:38 UTC) #2
vadimt
https://codereview.chromium.org/21661003/diff/1/chrome/browser/resources/google_now/utility.js File chrome/browser/resources/google_now/utility.js (right): https://codereview.chromium.org/21661003/diff/1/chrome/browser/resources/google_now/utility.js#newcode93 chrome/browser/resources/google_now/utility.js:93: function checkInstrumentedCallback() { On 2013/08/02 18:43:38, rgustafson wrote: > ...
7 years, 4 months ago (2013-08-02 19:19:25 UTC) #3
rgustafson
lgtm
7 years, 4 months ago (2013-08-02 22:14:26 UTC) #4
vadimt
arv@, please provide OWNER's approval
7 years, 4 months ago (2013-08-02 22:21:55 UTC) #5
arv (Not doing code reviews)
LGTM https://codereview.chromium.org/21661003/diff/6001/chrome/browser/resources/google_now/utility.js File chrome/browser/resources/google_now/utility.js (right): https://codereview.chromium.org/21661003/diff/6001/chrome/browser/resources/google_now/utility.js#newcode100 chrome/browser/resources/google_now/utility.js:100: alert(error); why both alert and console.log?
7 years, 4 months ago (2013-08-02 22:41:52 UTC) #6
vadimt
https://codereview.chromium.org/21661003/diff/6001/chrome/browser/resources/google_now/utility.js File chrome/browser/resources/google_now/utility.js (right): https://codereview.chromium.org/21661003/diff/6001/chrome/browser/resources/google_now/utility.js#newcode100 chrome/browser/resources/google_now/utility.js:100: alert(error); On 2013/08/02 22:41:52, arv wrote: > why both ...
7 years, 4 months ago (2013-08-02 22:47:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/21661003/6001
7 years, 4 months ago (2013-08-02 22:48:18 UTC) #8
commit-bot: I haz the power
7 years, 4 months ago (2013-08-03 01:39:14 UTC) #9
Message was sent while issue was closed.
Change committed as 215444

Powered by Google App Engine
This is Rietveld 408576698