| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/common/url_constants.h" | 5 #include "chrome/common/url_constants.h" |
| 6 | 6 |
| 7 #include "googleurl/src/url_util.h" | 7 #include "googleurl/src/url_util.h" |
| 8 | 8 |
| 9 namespace chrome { | 9 namespace chrome { |
| 10 | 10 |
| 11 #if defined(OS_CHROMEOS) | 11 #if defined(OS_CHROMEOS) |
| 12 const char kCrosScheme[] = "cros"; | 12 const char kCrosScheme[] = "cros"; |
| 13 const char kDriveScheme[] = "drive"; | 13 const char kDriveScheme[] = "drive"; |
| 14 #endif | 14 #endif |
| 15 | 15 |
| 16 #if defined(OS_ANDROID) | 16 #if defined(OS_ANDROID) |
| 17 const char kContentScheme[] = "content"; | |
| 18 const char kAndroidAssetPath[] = "/android_asset/"; | 17 const char kAndroidAssetPath[] = "/android_asset/"; |
| 19 const char kAndroidResourcePath[] = "/android_res/"; | 18 const char kAndroidResourcePath[] = "/android_res/"; |
| 20 #endif | 19 #endif |
| 21 | 20 |
| 22 const char kAboutPluginsURL[] = "about:plugins"; | 21 const char kAboutPluginsURL[] = "about:plugins"; |
| 23 const char kAboutVersionURL[] = "about:version"; | 22 const char kAboutVersionURL[] = "about:version"; |
| 24 | 23 |
| 25 // Add Chrome UI URLs as necessary, in alphabetical order. | 24 // Add Chrome UI URLs as necessary, in alphabetical order. |
| 26 // Be sure to add the corresponding kChromeUI*Host constant below. | 25 // Be sure to add the corresponding kChromeUI*Host constant below. |
| 27 // This is a WebUI page that lists other WebUI pages. | 26 // This is a WebUI page that lists other WebUI pages. |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 kChromeUIGpuCrashURL, | 498 kChromeUIGpuCrashURL, |
| 500 kChromeUIGpuHangURL, | 499 kChromeUIGpuHangURL, |
| 501 }; | 500 }; |
| 502 const int kNumberOfChromeDebugURLs = | 501 const int kNumberOfChromeDebugURLs = |
| 503 static_cast<int>(arraysize(kChromeDebugURLs)); | 502 static_cast<int>(arraysize(kChromeDebugURLs)); |
| 504 | 503 |
| 505 const char kExtensionScheme[] = "chrome-extension"; | 504 const char kExtensionScheme[] = "chrome-extension"; |
| 506 const char kExtensionResourceScheme[] = "chrome-extension-resource"; | 505 const char kExtensionResourceScheme[] = "chrome-extension-resource"; |
| 507 | 506 |
| 508 } // namespace chrome | 507 } // namespace chrome |
| OLD | NEW |