[M120][Tizen][Onscreen] Fix build errors for TV profile
[platform/framework/web/chromium-efl.git] / chrome / browser / browser_about_handler.h
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.
4
5 #ifndef CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_
6 #define CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_
7
8 class GURL;
9
10 namespace content {
11 class BrowserContext;
12 }
13
14 // Rewrites chrome://about -> chrome://chrome-urls and chrome://sync ->
15 // chrome://sync-internals.  Used with content::BrowserURLHandler.
16 bool HandleChromeAboutAndChromeSyncRewrite(
17     GURL* url,
18     content::BrowserContext* browser_context);
19
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);
24
25 #endif  // CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_