| OLD | NEW |
| 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 package org.chromium.chrome.browser; | 5 package org.chromium.chrome.browser; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * Java side version of chrome/common/url_constants.cc | 8 * Java side version of chrome/common/url_constants.cc |
| 9 */ | 9 */ |
| 10 public class UrlConstants { | 10 public class UrlConstants { |
| 11 public static final String CHROME_SCHEME = "chrome://"; | 11 public static final String CHROME_SCHEME = "chrome://"; |
| 12 public static final String CHROME_NATIVE_SCHEME = "chrome-native://"; | 12 public static final String CHROME_NATIVE_SCHEME = "chrome-native://"; |
| 13 public static final String CUSTOM_TAB_SCHEME = "customtab"; | 13 public static final String CUSTOM_TAB_SCHEME = "customtab"; |
| 14 public static final String DOCUMENT_SCHEME = "document"; | 14 public static final String DOCUMENT_SCHEME = "document"; |
| 15 public static final String FILE_SCHEME = "file://"; |
| 15 public static final String HTTP_SCHEME = "http://"; | 16 public static final String HTTP_SCHEME = "http://"; |
| 16 public static final String HTTPS_SCHEME = "https://"; | 17 public static final String HTTPS_SCHEME = "https://"; |
| 17 | 18 |
| 18 public static final String NTP_URL = "chrome-native://newtab/"; | 19 public static final String NTP_URL = "chrome-native://newtab/"; |
| 19 public static final String NTP_HOST = "newtab"; | 20 public static final String NTP_HOST = "newtab"; |
| 20 public static final String BOOKMARKS_URL = "chrome-native://bookmarks/"; | 21 public static final String BOOKMARKS_URL = "chrome-native://bookmarks/"; |
| 21 public static final String BOOKMARKS_FILTER_URL = "chrome-native://bookmarks
/filter/"; | 22 public static final String BOOKMARKS_FILTER_URL = "chrome-native://bookmarks
/filter/"; |
| 22 public static final String BOOKMARKS_FOLDER_URL = "chrome-native://bookmarks
/folder/"; | 23 public static final String BOOKMARKS_FOLDER_URL = "chrome-native://bookmarks
/folder/"; |
| 23 public static final String | 24 public static final String |
| 24 BOOKMARKS_UNCATEGORIZED_URL = "chrome-native://bookmarks/uncategoriz
ed/"; | 25 BOOKMARKS_UNCATEGORIZED_URL = "chrome-native://bookmarks/uncategoriz
ed/"; |
| 25 public static final String BOOKMARKS_HOST = "bookmarks"; | 26 public static final String BOOKMARKS_HOST = "bookmarks"; |
| 26 public static final String DOWNLOADS_URL = "chrome-native://downloads/"; | 27 public static final String DOWNLOADS_URL = "chrome-native://downloads/"; |
| 27 public static final String DOWNLOADS_FILTER_URL = "chrome-native://downloads
/filter/"; | 28 public static final String DOWNLOADS_FILTER_URL = "chrome-native://downloads
/filter/"; |
| 28 public static final String DOWNLOADS_HOST = "downloads"; | 29 public static final String DOWNLOADS_HOST = "downloads"; |
| 29 public static final String RECENT_TABS_URL = "chrome-native://recent-tabs/"; | 30 public static final String RECENT_TABS_URL = "chrome-native://recent-tabs/"; |
| 30 public static final String RECENT_TABS_HOST = "recent-tabs"; | 31 public static final String RECENT_TABS_HOST = "recent-tabs"; |
| 31 public static final String HISTORY_URL = "chrome://history/"; | 32 public static final String HISTORY_URL = "chrome://history/"; |
| 32 public static final String INTERESTS_URL = "chrome-native://interests/"; | 33 public static final String INTERESTS_URL = "chrome-native://interests/"; |
| 33 public static final String INTERESTS_HOST = "interests"; | 34 public static final String INTERESTS_HOST = "interests"; |
| 34 public static final String PHYSICAL_WEB_URL = "chrome-native://physical-web/
"; | 35 public static final String PHYSICAL_WEB_URL = "chrome-native://physical-web/
"; |
| 35 public static final String PHYSICAL_WEB_HOST = "physical-web"; | 36 public static final String PHYSICAL_WEB_HOST = "physical-web"; |
| 36 public static final String ABOUT_BLANK = "about:blank"; | 37 public static final String ABOUT_BLANK = "about:blank"; |
| 37 | 38 |
| 38 public static final String GOOGLE_ACCOUNT_ACTIVITY_CONTROLS_URL = | 39 public static final String GOOGLE_ACCOUNT_ACTIVITY_CONTROLS_URL = |
| 39 "https://myaccount.google.com/activitycontrols/search"; | 40 "https://myaccount.google.com/activitycontrols/search"; |
| 40 } | 41 } |
| OLD | NEW |