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

Side by Side Diff: chrome/browser/ui/browser_navigator.h

Issue 1381633002: Cleanup: IWYU for browser_navigator.h and browser_navigator_params.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, fix merge conflict Created 5 years, 2 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
« no previous file with comments | « chrome/browser/ui/browser_focus_uitest.cc ('k') | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_
6 #define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ 6 #define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_
7 7
8 // TODO(thestig) Forward declare this and do IWYU.
9 #include "chrome/browser/ui/browser_navigator_params.h"
10
11 class GURL; 8 class GURL;
12 9
13 namespace content { 10 namespace content {
14 class BrowserContext; 11 class BrowserContext;
15 } 12 }
16 13
17 namespace chrome { 14 namespace chrome {
18 15
16 struct NavigateParams;
17
19 // Navigates according to the configuration specified in |params|. 18 // Navigates according to the configuration specified in |params|.
20 void Navigate(NavigateParams* params); 19 void Navigate(NavigateParams* params);
21 20
22 // Returns true if the url is allowed to open in incognito window. 21 // Returns true if the url is allowed to open in incognito window.
23 bool IsURLAllowedInIncognito(const GURL& url, 22 bool IsURLAllowedInIncognito(const GURL& url,
24 content::BrowserContext* browser_context); 23 content::BrowserContext* browser_context);
25 24
26 } // namespace chrome 25 } // namespace chrome
27 26
28 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ 27 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_focus_uitest.cc ('k') | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698