| Index: chrome/browser/interstitials/security_interstitial_page_test_utils.h
|
| diff --git a/chrome/browser/interstitials/security_interstitial_page_test_utils.h b/chrome/browser/interstitials/security_interstitial_page_test_utils.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..46b356dca94dc1aeaa94828831e6208a8d409b27
|
| --- /dev/null
|
| +++ b/chrome/browser/interstitials/security_interstitial_page_test_utils.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2015 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 CHROME_BROWSER_INTERSTITIALS_SECURITY_INTERSTITIAL_PAGE_TEST_UTILS_H_
|
| +#define CHROME_BROWSER_INTERSTITIALS_SECURITY_INTERSTITIAL_PAGE_TEST_UTILS_H_
|
| +
|
| +#include <string>
|
| +
|
| +namespace content {
|
| +class InterstitialPage;
|
| +}
|
| +
|
| +namespace chrome_browser_interstitials {
|
| +
|
| +// Returns true if the interstitial contains |text| in its body.
|
| +bool IsInterstitialDisplayingText(content::InterstitialPage* interstitial,
|
| + const std::string& text);
|
| +
|
| +} // namespace chrome_browser_interstitials
|
| +
|
| +#endif // CHROME_BROWSER_INTERSTITIALS_SECURITY_INTERSTITIAL_PAGE_TEST_UTILS_H_
|
|
|