OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 { | 9 namespace { |
10 const char* kSavableSchemes[] = { | 10 const char* kSavableSchemes[] = { |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 | 318 |
319 const char kLearnMoreRegisterProtocolHandlerURL[] = | 319 const char kLearnMoreRegisterProtocolHandlerURL[] = |
320 "http://www.google.com/support/chrome/bin/answer.py?answer=1382847"; | 320 "http://www.google.com/support/chrome/bin/answer.py?answer=1382847"; |
321 | 321 |
322 const char kSyncLearnMoreURL[] = | 322 const char kSyncLearnMoreURL[] = |
323 "http://www.google.com/support/chrome/bin/answer.py?answer=165139"; | 323 "http://www.google.com/support/chrome/bin/answer.py?answer=165139"; |
324 | 324 |
325 const char kDownloadScanningLearnMoreURL[] = | 325 const char kDownloadScanningLearnMoreURL[] = |
326 "http://www.google.com/support/chrome/bin/answer.py?answer=99020"; | 326 "http://www.google.com/support/chrome/bin/answer.py?answer=99020"; |
327 | 327 |
| 328 const char kSyncEverythingLearnMoreURL[] = |
| 329 "https://www.google.com/support/chrome/bin/answer.py?answer=185277"; |
| 330 |
328 #if defined(OS_CHROMEOS) | 331 #if defined(OS_CHROMEOS) |
329 const char kCloudPrintLearnMoreURL[] = | 332 const char kCloudPrintLearnMoreURL[] = |
330 "https://www.google.com/support/chromeos/bin/topic.py?topic=29023"; | 333 "https://www.google.com/support/chromeos/bin/topic.py?topic=29023"; |
331 #endif | 334 #endif |
332 | 335 |
| 336 const char kInvalidPasswordHelpURL[] = |
| 337 "http://www.google.com/support/accounts/bin/answer.py?ctx=ch&answer=27444"; |
| 338 |
| 339 const char kCanNotAccessAccountURL[] = |
| 340 "http://www.google.com/support/accounts/bin/answer.py?answer=48598"; |
| 341 |
| 342 const char kSyncEncryptionHelpURL[] = |
| 343 #if defined(OS_CHROMEOS) |
| 344 "http://www.google.com/support/chromeos/bin/answer.py?answer=1181035"; |
| 345 #else |
| 346 "http://www.google.com/support/chrome/bin/answer.py?answer=1181035"; |
| 347 #endif |
| 348 |
| 349 const char kSyncCreateNewAccountURL[] = |
| 350 "https://www.google.com/accounts/NewAccount?service=chromiumsync"; |
| 351 |
333 const char* const kChromeDebugURLs[] = { | 352 const char* const kChromeDebugURLs[] = { |
334 kChromeUICrashURL, | 353 kChromeUICrashURL, |
335 kChromeUIKillURL, | 354 kChromeUIKillURL, |
336 kChromeUIHangURL, | 355 kChromeUIHangURL, |
337 kChromeUIShorthangURL, | 356 kChromeUIShorthangURL, |
338 kChromeUIGpuCleanURL, | 357 kChromeUIGpuCleanURL, |
339 kChromeUIGpuCrashURL, | 358 kChromeUIGpuCrashURL, |
340 kChromeUIGpuHangURL, | 359 kChromeUIGpuHangURL, |
341 }; | 360 }; |
342 int kNumberOfChromeDebugURLs = static_cast<int>(arraysize(kChromeDebugURLs)); | 361 int kNumberOfChromeDebugURLs = static_cast<int>(arraysize(kChromeDebugURLs)); |
343 | 362 |
344 const char kExtensionScheme[] = "chrome-extension"; | 363 const char kExtensionScheme[] = "chrome-extension"; |
345 | 364 |
346 void RegisterChromeSchemes() { | 365 void RegisterChromeSchemes() { |
347 url_util::AddStandardScheme(kExtensionScheme); | 366 url_util::AddStandardScheme(kExtensionScheme); |
348 #if defined(OS_CHROMEOS) | 367 #if defined(OS_CHROMEOS) |
349 url_util::AddStandardScheme(kCrosScheme); | 368 url_util::AddStandardScheme(kCrosScheme); |
350 #endif | 369 #endif |
351 | 370 |
352 // This call will also lock the list of standard schemes. | 371 // This call will also lock the list of standard schemes. |
353 RegisterContentSchemes(kSavableSchemes); | 372 RegisterContentSchemes(kSavableSchemes); |
354 } | 373 } |
355 | 374 |
356 } // namespace chrome | 375 } // namespace chrome |
OLD | NEW |