)]}'
{
  "commit": "20e8909e694cab857da21d8fe9d5f1da170eaae2",
  "tree": "397d0f712fb980c2a6c0d1cb4e86bdb5ca33f091",
  "parents": [
    "9bca8674bdf9e4a675ceb4c08d08099bcf3a52c4"
  ],
  "author": {
    "name": "Asanka Herath",
    "email": "asanka@chromium.org",
    "time": "Fri May 10 04:33:20 2019"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Fri May 10 04:33:20 2019"
  },
  "message": "[net/auth] Plumb NetLog down the HTTP auth stack.\n\nThis CL introduces a NetLog event source for HttpAuthController to use.\nFollowup CLs will start to use this log in place of scattered VLOGs.\n\nThe general model for logging in the HTTP authentication stack will be:\n\n  * HttpAuthController doesn\u0027t have a usable NetLog on construction.\n\n  * Each of HttpAuthController\u0027s public entry points\n    (MaybeGenerateAuthToken() and HandleAuthChallenge()) take a\n    NetLogWithSource parameter identifying the caller. The\n    HttpAuthController uses it to construct a bound NetLog if one\n    doesn\u0027t already exist for the controller. Upon construction of this\n    log, the controller logs a HTTP_AUTH_CONTROLLER BEGIN event.\n\n  * Upon destruction of HttpAuthController, the controller logs a\n    HTTP_AUTH_CONTROLLER END event if |net_log_| has a valid source\n    (i.e.  one of the two public entry points were invoked with a\n    non-null NetLogWithSource).\n\n  * All HttpAuthHandlers that the controller constructs are presented\n    with the controller\u0027s log.\n\nThus, by the end of its life, the |net_log_| for the HttpAuthController\nwill contain all the events from the first time one of the entry points\nwere invoked, all the way to the end, including events logged by the\nhandlers.\n\nIf the controller doesn\u0027t encounter any authentication challenges during\nits lifetime -- which is the case if the controller was constructed just\nto check if there\u0027s a possibility of there being credentials that can be\nused to perform preemptive authentication -- no logging occurs.\n\nThe HttpAuthController is stateful in terms of authentication challenge\nselection, handler selection, and identity selection. Having all these\nevents on the same log allows for easy tracking of this state throughout\nthe lifetime of the controller even if it is shuffled between owners.\n\nBug: 884313\nDoc: https://docs.google.com/document/d/1GgwVfHcPpL_v2EMKN5BJQWJalCUMwlJIGeRZQb1uc40\nChange-Id: I3afeb31af76db090e1b65e1d67ae2879b53bbe7f\nReviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1537283\nCommit-Queue: Asanka Herath \u003casanka@chromium.org\u003e\nReviewed-by: Matt Menke \u003cmmenke@chromium.org\u003e\nCr-Commit-Position: refs/heads/master@{#658441}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0d1eec544e2a34221e2ce8963b064464658886e4",
      "old_mode": 33188,
      "old_path": "net/http/http_auth_controller.cc",
      "new_id": "8fa70d7b51046f2790773cf41da25e5d0dd068eb",
      "new_mode": 33188,
      "new_path": "net/http/http_auth_controller.cc"
    },
    {
      "type": "modify",
      "old_id": "db15c7d51c110c820c8ca7868de49ed032e2eae7",
      "old_mode": 33188,
      "old_path": "net/http/http_auth_controller.h",
      "new_id": "73b86ff9f40476db8c7a3645995dd1ddca83cfb9",
      "new_mode": 33188,
      "new_path": "net/http/http_auth_controller.h"
    },
    {
      "type": "modify",
      "old_id": "da2794993c3b4296ab08d1d71f5720b2cf7b522f",
      "old_mode": 33188,
      "old_path": "net/http/http_auth_handler.h",
      "new_id": "0e80529706cfa9e0be90559e72cca184b31ade61",
      "new_mode": 33188,
      "new_path": "net/http/http_auth_handler.h"
    },
    {
      "type": "modify",
      "old_id": "a55a3e4f2dfbe4696360e307b8e43a04d73a146c",
      "old_mode": 33188,
      "old_path": "net/http/http_auth_handler_negotiate.cc",
      "new_id": "3bee8bc210aac206f5e7f46db8aa445ba860b64f",
      "new_mode": 33188,
      "new_path": "net/http/http_auth_handler_negotiate.cc"
    },
    {
      "type": "modify",
      "old_id": "4767480b063bb417a0f7d9b0beb085f5c9cd9210",
      "old_mode": 33188,
      "old_path": "net/log/net_log_event_type_list.h",
      "new_id": "dd8208fb91ae0e4c2b4887893125e221e21b0865",
      "new_mode": 33188,
      "new_path": "net/log/net_log_event_type_list.h"
    },
    {
      "type": "modify",
      "old_id": "5cc8de2b7d41421db926849ea65e43470b0d27e7",
      "old_mode": 33188,
      "old_path": "net/log/net_log_source_type_list.h",
      "new_id": "dfea92e3e808f37dae9d403213bb4542de2b791a",
      "new_mode": 33188,
      "new_path": "net/log/net_log_source_type_list.h"
    }
  ]
}
