1 // Copyright 2011 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_
6 #define CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_
14 // Rewrites chrome://about -> chrome://chrome-urls and chrome://sync ->
15 // chrome://sync-internals. Used with content::BrowserURLHandler.
16 bool HandleChromeAboutAndChromeSyncRewrite(
18 content::BrowserContext* browser_context);
20 // We have a few magic commands that don't cause navigations, but rather pop up
21 // dialogs. This function handles those cases, and returns true if so. In this
22 // case, normal tab navigation should be skipped.
23 bool HandleNonNavigationAboutURL(const GURL& url);
25 #endif // CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_