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

Side by Side Diff: chrome/browser/net/errorpage_test_util.h

Issue 2913733002: Add a browser test for access control for file: scheme (Closed)
Patch Set: Rework the patch per feedback Created 3 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved.
mmenke 2017/06/05 18:31:34 nit: -(c)
satorux1 2017/06/06 08:52:37 done - but this file is gone.
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_NET_ERRORPAGE_TEST_UTIL_H_
6 #define CHROME_BROWSER_NET_ERRORPAGE_TEST_UTIL_H_
7
8 #include <string>
9
10 #include "base/compiler_specific.h"
11 #include "chrome/browser/ui/browser.h"
12
13 namespace errorpage_test_util {
14
15 // Returns true if |text| is displayed on the page |browser| is currently
16 // displaying. Uses "innerText", so will miss hidden text, and whitespace
17 // space handling may be weird.
mmenke 2017/06/05 18:31:34 It actually doesn't use "innerText" (Know you just
satorux1 2017/06/06 08:52:37 Updated the comment in errorpage_browsertest.cc :)
18 bool WARN_UNUSED_RESULT IsDisplayingText(Browser* browser,
19 const std::string& text);
20
21 } // errorpage_test_util
22
23 #endif // CHROME_BROWSER_NET_ERRORPAGE_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698