// Copyright 2014 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_PUBLIC_TEST_TEST_FRAME_NAVIGATION_OBSERVER_H_ #define CONTENT_PUBLIC_TEST_TEST_FRAME_NAVIGATION_OBSERVER_H_ #include "base/run_loop.h" #include "content/public/browser/web_contents_observer.h" #include "content/public/test/browser_test_utils.h" #include "net/base/net_errors.h" namespace content { // Helper for waiting until the navigation in a specific frame tree node (and // all of its subframes) has completed loading. class TestFrameNavigationObserver : public WebContentsObserver { … }; } // namespace content #endif // CONTENT_PUBLIC_TEST_TEST_FRAME_NAVIGATION_OBSERVER_H_