Files.app: Fix analytics for image loader.
commit8ae2b7515458cd7bee9a18ba104f5b4f45bcd115
authorhirono <hirono@chromium.org>
Wed, 16 Sep 2015 10:01:34 +0000 (16 03:01 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 16 Sep 2015 10:02:15 +0000 (16 10:02 +0000)
tree9024db7c83e8d1686c4893cb5854fe0a24fc41ae
parentebe7c2c42fae3be82c815344dab856ebf799359b
Files.app: Fix analytics for image loader.

 * Assign specific property ID for image loader extension.
 * Add CSP entry for analytics server.
     analytics.js needs to communicate with Analytics
     server to record tracking data. In chrome app, we need
     to add both permission and CSP to allow to communicate
     with external server.

BUG=516250
TEST=ran on link, and checked on analytics console.

Review URL: https://codereview.chromium.org/1340653005

Cr-Commit-Position: refs/heads/master@{#349089}
ui/file_manager/file_manager/common/js/metrics.js
ui/file_manager/file_manager/common/js/metrics_unittest.js
ui/file_manager/image_loader/manifest.json