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

Unified Diff: content/test/content_browser_test_utils_internal.h

Issue 248963007: Perform navigation policy check on UI thread for --site-per-process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on ToT. Created 6 years, 8 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/content_tests.gypi ('k') | content/test/content_browser_test_utils_internal.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/content_browser_test_utils_internal.h
diff --git a/content/test/content_browser_test_utils_internal.h b/content/test/content_browser_test_utils_internal.h
new file mode 100644
index 0000000000000000000000000000000000000000..a27aea58e881f428a30480d934178dc0cc0030b4
--- /dev/null
+++ b/content/test/content_browser_test_utils_internal.h
@@ -0,0 +1,25 @@
+// 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_CONTENT_BROWSER_TEST_UTILS_INTERNAL_H_
+#define CONTENT_TEST_CONTENT_BROWSER_TEST_UTILS_INTERNAL_H_
+
+// A collections of functions designed for use with content_shell based browser
+// tests internal to the content/ module.
+// Note: If a function here also works with browser_tests, it should be in
+// the content public API.
+
+class GURL;
+
+namespace content {
+
+class FrameTreeNode;
+
+// Navigates the frame represented by |node| to |url|, blocking until the
+// navigation finishes.
+void NavigateFrameToURL(FrameTreeNode* node, const GURL& url);
+
+} // namespace content
+
+#endif // CONTENT_TEST_CONTENT_BROWSER_TEST_UTILS_INTERNAL_H_
« no previous file with comments | « content/content_tests.gypi ('k') | content/test/content_browser_test_utils_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698