blob: b2fcc42f9232b4d4a7cecd11c2e1604692ce3188 [file] [log] [blame]
[email protected]4ebab8ee2012-06-11 22:52:011// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]8b0e9cc32010-11-09 04:00:192// 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_UI_BROWSER_NAVIGATOR_H_
6#define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_
[email protected]8b0e9cc32010-11-09 04:00:197
thestigf80564462015-09-29 23:12:088class GURL;
[email protected]e232c992012-12-06 12:43:209
10namespace content {
thestigf80564462015-09-29 23:12:0811class BrowserContext;
[email protected]e232c992012-12-06 12:43:2012}
[email protected]8b0e9cc32010-11-09 04:00:1913
thestige80821242015-09-30 23:46:0814struct NavigateParams;
15
[email protected]8b0e9cc32010-11-09 04:00:1916// Navigates according to the configuration specified in |params|.
17void Navigate(NavigateParams* params);
18
[email protected]fc0ed302011-11-29 23:17:1919// Returns true if the url is allowed to open in incognito window.
[email protected]887ab0092012-10-16 08:48:2020bool IsURLAllowedInIncognito(const GURL& url,
21 content::BrowserContext* browser_context);
[email protected]130b48e02011-10-14 15:48:1922
[email protected]8b0e9cc32010-11-09 04:00:1923#endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_