child_web_contents_tracker.cc 589 B

123456789101112131415161718
  1. // Copyright (c) 2019 GitHub, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #include "shell/browser/child_web_contents_tracker.h"
  5. #include "content/public/browser/web_contents_user_data.h"
  6. namespace electron {
  7. ChildWebContentsTracker::ChildWebContentsTracker(
  8. content::WebContents* web_contents)
  9. : content::WebContentsUserData<ChildWebContentsTracker>(*web_contents) {}
  10. ChildWebContentsTracker::~ChildWebContentsTracker() = default;
  11. WEB_CONTENTS_USER_DATA_KEY_IMPL(ChildWebContentsTracker);
  12. } // namespace electron