// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/media/webrtc/same_origin_observer.h" #include "content/public/browser/web_contents.h" SameOriginObserver::SameOriginObserver( content::WebContents* observed_contents, const url::Origin& reference_origin, base::RepeatingCallback<void(content::WebContents*)> on_same_origin_state_changed) : … { … } SameOriginObserver::~SameOriginObserver() = default; void SameOriginObserver::PrimaryPageChanged(content::Page& page) { … }