#include "chrome/browser/media/webrtc/same_origin_observer.h"
#include "base/test/mock_callback.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/fenced_frame_test_util.h"
#include "net/dns/mock_host_resolver.h"
class SameOriginObserverTest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(SameOriginObserverTest, CallCallbackWhenOriginChanged) { … }
class SameOriginObserverFencedFrameTest : public SameOriginObserverTest { … };
IN_PROC_BROWSER_TEST_F(SameOriginObserverFencedFrameTest,
FFDoesNotAffectSameOriginState) { … }