summaryrefslogtreecommitdiffstats
path: root/chrome/test/test_tab_contents.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/test_tab_contents.h')
-rw-r--r--chrome/test/test_tab_contents.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/test/test_tab_contents.h b/chrome/test/test_tab_contents.h
index 13b82e4..e8b56d4 100644
--- a/chrome/test/test_tab_contents.h
+++ b/chrome/test/test_tab_contents.h
@@ -97,6 +97,10 @@ class TestTabContentsFactory : public TabContentsFactory {
const std::string& scheme() const { return scheme_; }
+ GURL test_url_with_path(const std::string& path) const {
+ return GURL(scheme() + ":" + path);
+ }
+
TabContentsType type() const { return type_; }
private: