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 |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 "https://support.google.com/chrome/?hl=en&p=ui_generate_password"; | 277 "https://support.google.com/chrome/?hl=en&p=ui_generate_password"; |
278 | 278 |
279 | 279 |
280 const char kPasswordManagerLearnMoreURL[] = | 280 const char kPasswordManagerLearnMoreURL[] = |
281 #if defined(OS_CHROMEOS) | 281 #if defined(OS_CHROMEOS) |
282 "https://support.google.com/chromeos/?p=settings_password"; | 282 "https://support.google.com/chromeos/?p=settings_password"; |
283 #else | 283 #else |
284 "https://support.google.com/chrome/?p=settings_password"; | 284 "https://support.google.com/chrome/?p=settings_password"; |
285 #endif | 285 #endif |
286 | 286 |
287 const char kChromeHelpURL[] = | 287 const char kChromeHelpViaKeyboardURL[] = |
288 #if defined(OS_CHROMEOS) | 288 #if defined(OS_CHROMEOS) |
289 #if defined(OFFICIAL_BUILD) | 289 #if defined(OFFICIAL_BUILD) |
290 "chrome-extension://honijodknafkokifofgiaalefdiedpko/main.html"; | 290 "chrome-extension://honijodknafkokifofgiaalefdiedpko/main.html"; |
291 #else | 291 #else |
292 "https://support.google.com/chromeos/?p=help"; | 292 "https://support.google.com/chromeos/?p=help&ctx=keyboard"; |
293 #endif // defined(OFFICIAL_BUILD | 293 #endif // defined(OFFICIAL_BUILD |
294 #else | 294 #else |
295 "https://support.google.com/chrome/?p=help"; | 295 "https://support.google.com/chrome/?p=help&ctx=keyboard"; |
296 #endif | 296 #endif // defined(OS_CHROMEOS) |
| 297 |
| 298 const char kChromeHelpViaMenuURL[] = |
| 299 #if defined(OS_CHROMEOS) |
| 300 #if defined(OFFICIAL_BUILD) |
| 301 "chrome-extension://honijodknafkokifofgiaalefdiedpko/main.html"; |
| 302 #else |
| 303 "https://support.google.com/chromeos/?p=help&ctx=menu"; |
| 304 #endif // defined(OFFICIAL_BUILD |
| 305 #else |
| 306 "https://support.google.com/chrome/?p=help&ctx=menu"; |
| 307 #endif // defined(OS_CHROMEOS) |
| 308 |
| 309 const char kChromeHelpViaWebUIURL[] = |
| 310 #if defined(OS_CHROMEOS) |
| 311 #if defined(OFFICIAL_BUILD) |
| 312 "chrome-extension://honijodknafkokifofgiaalefdiedpko/main.html"; |
| 313 #else |
| 314 "https://support.google.com/chromeos/?p=help&ctx=settings"; |
| 315 #endif // defined(OFFICIAL_BUILD |
| 316 #else |
| 317 "https://support.google.com/chrome/?p=help&ctx=settings"; |
| 318 #endif // defined(OS_CHROMEOS) |
297 | 319 |
298 const char kChromeSyncLearnMoreURL[] = | 320 const char kChromeSyncLearnMoreURL[] = |
299 #if defined(OS_CHROMEOS) | 321 #if defined(OS_CHROMEOS) |
300 "http://support.google.com/chromeos/bin/answer.py?hl=en&answer=165139"; | 322 "http://support.google.com/chromeos/bin/answer.py?hl=en&answer=165139"; |
301 #else | 323 #else |
302 "http://support.google.com/chrome/bin/answer.py?hl=en&answer=165139"; | 324 "http://support.google.com/chrome/bin/answer.py?hl=en&answer=165139"; |
303 #endif | 325 #endif |
304 | 326 |
305 const char kSettingsSearchHelpURL[] = | 327 const char kSettingsSearchHelpURL[] = |
306 #if defined(OS_CHROMEOS) | 328 #if defined(OS_CHROMEOS) |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 kChromeUIGpuCleanURL, | 453 kChromeUIGpuCleanURL, |
432 kChromeUIGpuCrashURL, | 454 kChromeUIGpuCrashURL, |
433 kChromeUIGpuHangURL, | 455 kChromeUIGpuHangURL, |
434 }; | 456 }; |
435 int kNumberOfChromeDebugURLs = static_cast<int>(arraysize(kChromeDebugURLs)); | 457 int kNumberOfChromeDebugURLs = static_cast<int>(arraysize(kChromeDebugURLs)); |
436 | 458 |
437 const char kExtensionScheme[] = "chrome-extension"; | 459 const char kExtensionScheme[] = "chrome-extension"; |
438 const char kExtensionResourceScheme[] = "chrome-extension-resource"; | 460 const char kExtensionResourceScheme[] = "chrome-extension-resource"; |
439 | 461 |
440 } // namespace chrome | 462 } // namespace chrome |
OLD | NEW |