Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / android / new_tab_page_url_handler.h
blobaccea15926ef322a16634651101fe3f88d2eb81b
1 // Copyright 2014 The Chromium Authors. All rights reserved.
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_ANDROID_NEW_TAB_PAGE_URL_HANDLER_H_
6 #define CHROME_BROWSER_ANDROID_NEW_TAB_PAGE_URL_HANDLER_H_
8 class GURL;
10 namespace content {
11 class BrowserContext;
14 namespace chrome {
15 namespace android {
17 // Rewrites old-style Android NTP URLs and legacy bookmark URLs.
18 // - chrome://newtab -> chrome-native://newtab
19 // - chrome-native://bookmarks/# -> chrome-native://bookmarks/folder/
20 bool HandleAndroidNativePageURL(GURL* url,
21 content::BrowserContext* browser_context);
23 } // namespace android
24 } // namespace chrome
26 #endif // CHROME_BROWSER_ANDROID_NEW_TAB_PAGE_URL_HANDLER_H_