[email protected] | 4ebab8ee | 2012-06-11 22:52:01 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | 8b0e9cc3 | 2010-11-09 04:00:19 | [diff] [blame] | 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_UI_BROWSER_NAVIGATOR_H_ | ||||
6 | #define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ | ||||
[email protected] | 8b0e9cc3 | 2010-11-09 04:00:19 | [diff] [blame] | 7 | |
thestig | f8056446 | 2015-09-29 23:12:08 | [diff] [blame] | 8 | class GURL; |
[email protected] | e232c99 | 2012-12-06 12:43:20 | [diff] [blame] | 9 | |
10 | namespace content { | ||||
thestig | f8056446 | 2015-09-29 23:12:08 | [diff] [blame] | 11 | class BrowserContext; |
[email protected] | e232c99 | 2012-12-06 12:43:20 | [diff] [blame] | 12 | } |
[email protected] | 8b0e9cc3 | 2010-11-09 04:00:19 | [diff] [blame] | 13 | |
thestig | e8082124 | 2015-09-30 23:46:08 | [diff] [blame] | 14 | struct NavigateParams; |
15 | |||||
[email protected] | 8b0e9cc3 | 2010-11-09 04:00:19 | [diff] [blame] | 16 | // Navigates according to the configuration specified in |params|. |
17 | void Navigate(NavigateParams* params); | ||||
18 | |||||
[email protected] | fc0ed30 | 2011-11-29 23:17:19 | [diff] [blame] | 19 | // Returns true if the url is allowed to open in incognito window. |
[email protected] | 887ab009 | 2012-10-16 08:48:20 | [diff] [blame] | 20 | bool IsURLAllowedInIncognito(const GURL& url, |
21 | content::BrowserContext* browser_context); | ||||
[email protected] | 130b48e0 | 2011-10-14 15:48:19 | [diff] [blame] | 22 | |
[email protected] | 8b0e9cc3 | 2010-11-09 04:00:19 | [diff] [blame] | 23 | #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ |