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

Side by Side Diff: chrome/browser/android/ntp/new_tab_page_url_handler.h

Issue 1811333003: Move the remaining NTP realted files to c/b/android/ntp subdir. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync again Created 4 years, 9 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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_ANDROID_NEW_TAB_PAGE_URL_HANDLER_H_ 5 #ifndef CHROME_BROWSER_ANDROID_NTP_NEW_TAB_PAGE_URL_HANDLER_H_
6 #define CHROME_BROWSER_ANDROID_NEW_TAB_PAGE_URL_HANDLER_H_ 6 #define CHROME_BROWSER_ANDROID_NTP_NEW_TAB_PAGE_URL_HANDLER_H_
7 7
8 class GURL; 8 class GURL;
9 9
10 namespace content { 10 namespace content {
11 class BrowserContext; 11 class BrowserContext;
12 } 12 }
13 13
14 namespace chrome { 14 namespace chrome {
15 namespace android { 15 namespace android {
16 16
17 // Rewrites old-style Android NTP URLs and legacy bookmark URLs. 17 // Rewrites old-style Android NTP URLs and legacy bookmark URLs.
18 // - chrome://newtab -> chrome-native://newtab 18 // - chrome://newtab -> chrome-native://newtab
19 // - chrome-native://bookmarks/# -> chrome-native://bookmarks/folder/ 19 // - chrome-native://bookmarks/# -> chrome-native://bookmarks/folder/
20 bool HandleAndroidNativePageURL(GURL* url, 20 bool HandleAndroidNativePageURL(GURL* url,
21 content::BrowserContext* browser_context); 21 content::BrowserContext* browser_context);
22 22
23 } // namespace android 23 } // namespace android
24 } // namespace chrome 24 } // namespace chrome
25 25
26 #endif // CHROME_BROWSER_ANDROID_NEW_TAB_PAGE_URL_HANDLER_H_ 26 #endif // CHROME_BROWSER_ANDROID_NTP_NEW_TAB_PAGE_URL_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/ntp/new_tab_page_prefs.cc ('k') | chrome/browser/android/ntp/new_tab_page_url_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698