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 <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "content/public/common/url_constants.h" | 10 #include "content/public/common/url_constants.h" |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 const char kChromeUIVersionHost[] = "version"; | 227 const char kChromeUIVersionHost[] = "version"; |
228 const char kChromeUIWorkersHost[] = "workers"; | 228 const char kChromeUIWorkersHost[] = "workers"; |
229 | 229 |
230 const char kChromeUIScreenshotPath[] = "screenshots"; | 230 const char kChromeUIScreenshotPath[] = "screenshots"; |
231 const char kChromeUIThemePath[] = "theme"; | 231 const char kChromeUIThemePath[] = "theme"; |
232 | 232 |
233 #if defined(OS_ANDROID) | 233 #if defined(OS_ANDROID) |
234 const char kChromeUIWelcomeHost[] = "welcome"; | 234 const char kChromeUIWelcomeHost[] = "welcome"; |
235 #endif | 235 #endif |
236 | 236 |
237 #if defined(OS_LINUX) || defined(OS_OPENBSD) | 237 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && \ |
| 238 !defined(OS_NACL) |
238 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; | 239 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; |
239 const char kChromeUISandboxHost[] = "sandbox"; | 240 const char kChromeUISandboxHost[] = "sandbox"; |
240 #endif | 241 #endif |
241 | 242 |
242 #if defined(OS_CHROMEOS) | 243 #if defined(OS_CHROMEOS) |
243 const char kChromeUIActivationMessageHost[] = "activationmessage"; | 244 const char kChromeUIActivationMessageHost[] = "activationmessage"; |
244 const char kChromeUIAppLaunchHost[] = "app-launch"; | 245 const char kChromeUIAppLaunchHost[] = "app-launch"; |
245 const char kChromeUIBluetoothPairingHost[] = "bluetooth-pairing"; | 246 const char kChromeUIBluetoothPairingHost[] = "bluetooth-pairing"; |
246 const char kChromeUIChooseMobileNetworkHost[] = "choose-mobile-network"; | 247 const char kChromeUIChooseMobileNetworkHost[] = "choose-mobile-network"; |
247 const char kChromeUICryptohomeHost[] = "cryptohome"; | 248 const char kChromeUICryptohomeHost[] = "cryptohome"; |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 kChromeUIBookmarksHost, | 549 kChromeUIBookmarksHost, |
549 kChromeUIDownloadsHost, | 550 kChromeUIDownloadsHost, |
550 kChromeUIFlashHost, | 551 kChromeUIFlashHost, |
551 kChromeUIInspectHost, | 552 kChromeUIInspectHost, |
552 kChromeUIPluginsHost, | 553 kChromeUIPluginsHost, |
553 kChromeUISettingsHost, | 554 kChromeUISettingsHost, |
554 #endif | 555 #endif |
555 #if defined(OS_WIN) | 556 #if defined(OS_WIN) |
556 kChromeUIConflictsHost, | 557 kChromeUIConflictsHost, |
557 #endif | 558 #endif |
558 #if defined(OS_LINUX) || defined(OS_OPENBSD) | 559 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && \ |
| 560 !defined(OS_NACL) |
559 kChromeUILinuxProxyConfigHost, | 561 kChromeUILinuxProxyConfigHost, |
560 kChromeUISandboxHost, | 562 kChromeUISandboxHost, |
561 #endif | 563 #endif |
562 #if defined(OS_CHROMEOS) | 564 #if defined(OS_CHROMEOS) |
563 kChromeUIChooseMobileNetworkHost, | 565 kChromeUIChooseMobileNetworkHost, |
564 kChromeUICryptohomeHost, | 566 kChromeUICryptohomeHost, |
565 kChromeUIDiagnosticsHost, | 567 kChromeUIDiagnosticsHost, |
566 kChromeUIDiscardsHost, | 568 kChromeUIDiscardsHost, |
567 kChromeUIDriveInternalsHost, | 569 kChromeUIDriveInternalsHost, |
568 kChromeUIImageBurnerHost, | 570 kChromeUIImageBurnerHost, |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
631 const char kChromeSearchMostVisitedUrl[] = "chrome-search://most-visited/"; | 633 const char kChromeSearchMostVisitedUrl[] = "chrome-search://most-visited/"; |
632 | 634 |
633 // Google SafeSearch query parameters. | 635 // Google SafeSearch query parameters. |
634 const char kSafeSearchSafeParameter[] = "safe=active"; | 636 const char kSafeSearchSafeParameter[] = "safe=active"; |
635 const char kSafeSearchSsuiParameter[] = "ssui=on"; | 637 const char kSafeSearchSsuiParameter[] = "ssui=on"; |
636 | 638 |
637 const char kMediaAccessLearnMoreUrl[] = | 639 const char kMediaAccessLearnMoreUrl[] = |
638 "https://support.google.com/chrome/?p=ib_access_cam_mic"; | 640 "https://support.google.com/chrome/?p=ib_access_cam_mic"; |
639 | 641 |
640 } // namespace chrome | 642 } // namespace chrome |
OLD | NEW |