// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_ATTRIBUTION_REPORTING_TEST_SOURCE_OBSERVER_H_ #define CONTENT_BROWSER_ATTRIBUTION_REPORTING_TEST_SOURCE_OBSERVER_H_ #include <stddef.h> #include <optional> #include "base/run_loop.h" #include "content/public/test/test_navigation_observer.h" #include "third_party/blink/public/common/navigation/impression.h" namespace content { class WebContents; // WebContentsObserver that waits until a source is available on a // navigation handle for a finished navigation. class SourceObserver : public TestNavigationObserver { … }; } // namespace content #endif // CONTENT_BROWSER_ATTRIBUTION_REPORTING_TEST_SOURCE_OBSERVER_H_