| 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 { | 9 namespace { |
| 10 const char* kSavableSchemes[] = { | 10 const char* kSavableSchemes[] = { |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 const char kLanguageOptionsSubPage[] = "languages"; | 257 const char kLanguageOptionsSubPage[] = "languages"; |
| 258 const char kManageProfileSubPage[] = "manageProfile"; | 258 const char kManageProfileSubPage[] = "manageProfile"; |
| 259 const char kPasswordManagerSubPage[] = "passwords"; | 259 const char kPasswordManagerSubPage[] = "passwords"; |
| 260 const char kPersonalOptionsSubPage[] = "personal"; | 260 const char kPersonalOptionsSubPage[] = "personal"; |
| 261 const char kSearchEnginesSubPage[] = "searchEngines"; | 261 const char kSearchEnginesSubPage[] = "searchEngines"; |
| 262 const char kSyncSetupSubPage[] = "syncSetup"; | 262 const char kSyncSetupSubPage[] = "syncSetup"; |
| 263 const char kSyncSetupForceLoginSubPage[] = "syncSetup#forceLogin"; | 263 const char kSyncSetupForceLoginSubPage[] = "syncSetup#forceLogin"; |
| 264 #if defined(OS_CHROMEOS) | 264 #if defined(OS_CHROMEOS) |
| 265 const char kInternetOptionsSubPage[] = "internet"; | 265 const char kInternetOptionsSubPage[] = "internet"; |
| 266 const char kSystemOptionsSubPage[] = "system"; | 266 const char kSystemOptionsSubPage[] = "system"; |
| 267 const char kBluetoothAddDeviceSubPage[] = "bluetooth"; |
| 267 #endif | 268 #endif |
| 268 | 269 |
| 269 const char kSyncGoogleDashboardURL[] = "https://www.google.com/dashboard/"; | 270 const char kSyncGoogleDashboardURL[] = "https://www.google.com/dashboard/"; |
| 270 | 271 |
| 271 const char kPasswordManagerLearnMoreURL[] = | 272 const char kPasswordManagerLearnMoreURL[] = |
| 272 #if defined(OS_CHROMEOS) | 273 #if defined(OS_CHROMEOS) |
| 273 "https://support.google.com/chromeos/?p=settings_password"; | 274 "https://support.google.com/chromeos/?p=settings_password"; |
| 274 #else | 275 #else |
| 275 "https://support.google.com/chrome/?p=settings_password"; | 276 "https://support.google.com/chrome/?p=settings_password"; |
| 276 #endif | 277 #endif |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 url_util::AddStandardScheme(kExtensionScheme); | 419 url_util::AddStandardScheme(kExtensionScheme); |
| 419 #if defined(OS_CHROMEOS) | 420 #if defined(OS_CHROMEOS) |
| 420 url_util::AddStandardScheme(kCrosScheme); | 421 url_util::AddStandardScheme(kCrosScheme); |
| 421 #endif | 422 #endif |
| 422 | 423 |
| 423 // This call will also lock the list of standard schemes. | 424 // This call will also lock the list of standard schemes. |
| 424 content::RegisterContentSchemes(kSavableSchemes); | 425 content::RegisterContentSchemes(kSavableSchemes); |
| 425 } | 426 } |
| 426 | 427 |
| 427 } // namespace chrome | 428 } // namespace chrome |
| OLD | NEW |