|
|
Created:
6 years, 7 months ago by andycai1 Modified:
6 years, 7 months ago CC:
chromium-reviews, stevenjb+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org, stephenlin1 Base URL:
https://chromium.googlesource.com/chromium/src.git@master Visibility:
Public. |
DescriptionAdd more background js file and edit access to Google Analytics.
BUG=chromium:369679
BUG=chromium:368815
TEST=Tested manually on daisy
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269908
Patch Set 1 #
Total comments: 4
Patch Set 2 : 2 #Patch Set 3 : resolved conflict #Messages
Total messages: 15 (0 generated)
Please check https://github.com/GoogleChrome/chrome-platform-analytics/wiki for more info about manifest change for Google Analytics.
I'd suggest you have it reviewed by someone with more experience. After all you have to do that since i have no readability and can't approve the cl. If that takes long, then i think you'd better break down this cl so that it won't block the bug fix caused by constant.js not being loaded.
Hi Gaurav, I edited the access to Google Analytics as in helper app: https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/res... I added several js files in the extension. These files are added as background javascript script in manifest. Thanks, Andy
https://codereview.chromium.org/278433005/diff/1/chrome/browser/resources/chr... File chrome/browser/resources/chromeos/echo/manifest.json (right): https://codereview.chromium.org/278433005/diff/1/chrome/browser/resources/chr... chrome/browser/resources/chromeos/echo/manifest.json:33: "lib/google-analytics-bundle.js", I think we should get this reviewed by someone who knows about the google-analytics-bundle.js library. Andy tells me it's used by the Genius App as well. +davidyu, cylee https://codereview.chromium.org/278433005/diff/1/chrome/browser/resources/chr... chrome/browser/resources/chromeos/echo/manifest.json:34: "analytics.js", alpha order?
Please see https://chrome-internal-review.googlesource.com/#/c/162485/ for corresponding extension change
https://codereview.chromium.org/278433005/diff/1/chrome/browser/resources/chr... File chrome/browser/resources/chromeos/echo/manifest.json (right): https://codereview.chromium.org/278433005/diff/1/chrome/browser/resources/chr... chrome/browser/resources/chromeos/echo/manifest.json:34: "analytics.js", On 2014/05/07 23:45:54, gauravsh wrote: > alpha order? I think the order matters, the bundle.js needs to be loaded before analytics.js. I tested that ECHO Extension can't be loaded when reorder the js files.
https://codereview.chromium.org/278433005/diff/1/chrome/browser/resources/chr... File chrome/browser/resources/chromeos/echo/manifest.json (right): https://codereview.chromium.org/278433005/diff/1/chrome/browser/resources/chr... chrome/browser/resources/chromeos/echo/manifest.json:33: "lib/google-analytics-bundle.js", On 2014/05/07 23:45:54, gauravsh wrote: > I think we should get this reviewed by someone who knows about the > google-analytics-bundle.js library. Andy tells me it's used by the Genius App as > well. > > +davidyu, cylee +cnwan, who is in charge of this.
Please take a look. The branch date is tomorrow Pacific Time. Thanks, Andy On 2014/05/08 05:43:15, davidyu wrote: > https://codereview.chromium.org/278433005/diff/1/chrome/browser/resources/chr... > File chrome/browser/resources/chromeos/echo/manifest.json (right): > > https://codereview.chromium.org/278433005/diff/1/chrome/browser/resources/chr... > chrome/browser/resources/chromeos/echo/manifest.json:33: > "lib/google-analytics-bundle.js", > On 2014/05/07 23:45:54, gauravsh wrote: > > I think we should get this reviewed by someone who knows about the > > google-analytics-bundle.js library. Andy tells me it's used by the Genius App > as > > well. > > > > +davidyu, cylee > > +cnwan, who is in charge of this.
cnwan1 should chime in about lib/google-analytics-bundle.js. From a security perspective there's not a big difference from script-src to injecting it directly.
lgtm The only changes needed to use Chrome Apps Analytics are on in this CL: 1. the compiled JavaScript binary from https://developer.chrome.com/apps/analytics. 2. and the permission to connect to https://www.google-analytics.com
Done On Sat, May 10, 2014 at 1:15 AM, <jorgelo@chromium.org> wrote: > cnwan1 should chime in about lib/google-analytics-bundle.js. From a > security > perspective there's not a big difference from script-src to injecting it > directly. > > https://codereview.chromium.org/278433005/ > To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
lgtm
The CQ bit was checked by andycai@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andycai@chromium.org/278433005/40001
Message was sent while issue was closed.
Change committed as 269908 |