{"push_id":828798344,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"02d7ec2d8c293911f91b78f90377fe9d6a20ff0a","before":"ee38c1ccd1b12bdde48dc3b977d1d841c35f81f4","commits":[{"sha":"02d7ec2d8c293911f91b78f90377fe9d6a20ff0a","author":{"email":"e6fc70f7038230a5bea99aab14a7015756c42ad5@chromium.org","name":"blundell"},"message":"Introduce IOSChromeMetricsServiceClient\n\nThis CL introduces a MetricsServiceClient implementation intended for the\n//ios/chrome embedder. This implementation is based on\nChromeMetricsServiceClient (which the iOS port previously used a forked version\nof), but is adapted for the needs of iOS.\n\nNotable changes from ChromeMetricsServiceClient:\n- All notification listening is eliminated. The three notifications that are in\nfact fired on iOS are TAB_PARENTED, LOAD_STARTED, and LOAD_STOPPED. Listening\nfor these is replaced by usage of TabParentingGlobalObserver and\nGlobalWebStateObserver respectively, whose callbacks fire at identical times to\nthe notifications.\n\n- The asynchronous flow for initializing system profile metrics is greatly\nstreamlined, as the iOS port doesn't use most phases of the flow.\n\n- ChromeMetricsServiceClient::RecordCommandLineMetrics() is not ported as it (a)\nrelies on //chrome and (b) does not currently gather meaningful metrics. See\ncrbug.com/375794 for details.\n\nNOTE: In the codereview page for this CL, PS1 has the forked downstream copy of\nchrome_metrics_service_client.* that the iOS port was using at the time of\ncreating this CL in order to ease the task of doing before-and-after\ncomparisons.\n\nBUG=512421\n\nReview URL: https://codereview.chromium.org/1398443009\n\nCr-Commit-Position: refs/heads/master@{#354324}","distinct":true,"url":"https://api.github.com/repos/dstockwell/chromium/commits/02d7ec2d8c293911f91b78f90377fe9d6a20ff0a"}]}