Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Unified Diff: content/test/browser_side_navigation_test_utils.h

Issue 2296483002: Fix some unit_tests under PlzNavigate (Closed)
Patch Set: not in public interface Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/test/test_renderer_host.cc ('k') | content/test/browser_side_navigation_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/browser_side_navigation_test_utils.h
diff --git a/content/test/browser_side_navigation_test_utils.h b/content/test/browser_side_navigation_test_utils.h
deleted file mode 100644
index b3d0b13306181eb1de84542b95ea926d6d94374a..0000000000000000000000000000000000000000
--- a/content/test/browser_side_navigation_test_utils.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_TEST_BROWSER_SIDE_NAVIGATION_TEST_UTILS_H_
-#define CONTENT_TEST_BROWSER_SIDE_NAVIGATION_TEST_UTILS_H_
-
-#include <memory>
-
-#include "base/macros.h"
-
-namespace content {
-
-class StreamHandle;
-
-// Initializes the browser side navigation test utils. Following this call, all
-// NavigationURLLoader objects created will be TestNavigationURLLoaders instead
-// of NavigationURLloaderImpls. This should be called before any call in the UI
-// thread unit tests that will start a navigation (eg.
-// TestWebContents::NavigateAndCommit).
-void BrowserSideNavigationSetUp();
-
-// Tears down the browser side navigation test utils.
-void BrowserSideNavigationTearDown();
-
-// Returns an empty stream. Used when faking a navigation commit notification
-// from the IO thread with a TestNavigationURLLoader.
-std::unique_ptr<StreamHandle> MakeEmptyStream();
-
-// If a test needs to run with browser side navigation enabled, call this
-// function before doing any setup. In particular, for tests inheriting from
-// RenderViewHostTestHarness, call this function before calling
-// RenderViewHostTestHarness::SetUp.
-void EnableBrowserSideNavigation();
-
-} // namespace content
-
-#endif // CONTENT_TEST_BROWSER_SIDE_NAVIGATION_TEST_UTILS_H_
« no previous file with comments | « content/public/test/test_renderer_host.cc ('k') | content/test/browser_side_navigation_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698