| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_INTERSTITIALS_SECURITY_INTERSTITIAL_PAGE_TEST_UTILS_H_ |
| 6 #define CHROME_BROWSER_INTERSTITIALS_SECURITY_INTERSTITIAL_PAGE_TEST_UTILS_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 namespace content { |
| 11 class InterstitialPage; |
| 12 } |
| 13 |
| 14 namespace chrome_browser_interstitials { |
| 15 |
| 16 // Returns true if the interstitial contains |text| in its body. |
| 17 bool IsInterstitialDisplayingText(content::InterstitialPage* interstitial, |
| 18 const std::string& text); |
| 19 |
| 20 } // namespace chrome_browser_interstitials |
| 21 |
| 22 #endif // CHROME_BROWSER_INTERSTITIALS_SECURITY_INTERSTITIAL_PAGE_TEST_UTILS_H_ |
| OLD | NEW |