| 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 <stdlib.h> | 5 #include <stdlib.h> |
| 6 | 6 |
| 7 #include "chrome/common/url_constants.h" | 7 #include "chrome/common/url_constants.h" |
| 8 #include "googleurl/src/url_util.h" | 8 #include "googleurl/src/url_util.h" |
| 9 | 9 |
| 10 namespace chrome { | 10 namespace chrome { |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 // Option sub pages. | 186 // Option sub pages. |
| 187 const char kAdvancedOptionsSubPage[] = "advanced"; | 187 const char kAdvancedOptionsSubPage[] = "advanced"; |
| 188 const char kAutoFillSubPage[] = "autofill"; | 188 const char kAutoFillSubPage[] = "autofill"; |
| 189 const char kBrowserOptionsSubPage[] = "browser"; | 189 const char kBrowserOptionsSubPage[] = "browser"; |
| 190 const char kClearBrowserDataSubPage[] = "clearBrowserData"; | 190 const char kClearBrowserDataSubPage[] = "clearBrowserData"; |
| 191 const char kContentSettingsSubPage[] = "content"; | 191 const char kContentSettingsSubPage[] = "content"; |
| 192 const char kContentSettingsExceptionsSubPage[] = "contentExceptions"; | 192 const char kContentSettingsExceptionsSubPage[] = "contentExceptions"; |
| 193 const char kDefaultOptionsSubPage[] = ""; | 193 const char kDefaultOptionsSubPage[] = ""; |
| 194 const char kImportDataSubPage[] = "importData"; | 194 const char kImportDataSubPage[] = "importData"; |
| 195 const char kInstantConfirmPage[] = "instantConfirm"; | 195 const char kInstantConfirmPage[] = "instantConfirm"; |
| 196 const char kLanguageOptionsSubPage[] = "language"; |
| 196 const char kPersonalOptionsSubPage[] = "personal"; | 197 const char kPersonalOptionsSubPage[] = "personal"; |
| 197 const char kPasswordManagerSubPage[] = "passwords"; | 198 const char kPasswordManagerSubPage[] = "passwords"; |
| 198 const char kSearchEnginesSubPage[] = "searchEngines"; | 199 const char kSearchEnginesSubPage[] = "searchEngines"; |
| 199 #if defined(OS_CHROMEOS) | 200 #if defined(OS_CHROMEOS) |
| 200 const char kInternetOptionsSubPage[] = "internet"; | 201 const char kInternetOptionsSubPage[] = "internet"; |
| 201 const char kLanguageOptionsSubPage[] = "languages"; | |
| 202 const char kSystemOptionsSubPage[] = "system"; | 202 const char kSystemOptionsSubPage[] = "system"; |
| 203 #endif | 203 #endif |
| 204 | 204 |
| 205 const char kChromeHelpURL[] = | 205 const char kChromeHelpURL[] = |
| 206 #if defined(OS_CHROMEOS) | 206 #if defined(OS_CHROMEOS) |
| 207 "http://www.google.com/support/chromeos/"; | 207 "http://www.google.com/support/chromeos/"; |
| 208 #else | 208 #else |
| 209 "http://www.google.com/support/chrome/"; | 209 "http://www.google.com/support/chrome/"; |
| 210 #endif | 210 #endif |
| 211 | 211 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 | 261 |
| 262 // Prevent future modification of the standard schemes list. This is to | 262 // Prevent future modification of the standard schemes list. This is to |
| 263 // prevent accidental creation of data races in the program. AddStandardScheme | 263 // prevent accidental creation of data races in the program. AddStandardScheme |
| 264 // isn't threadsafe so must be called when GURL isn't used on any other | 264 // isn't threadsafe so must be called when GURL isn't used on any other |
| 265 // thread. This is really easy to mess up, so we say that all calls to | 265 // thread. This is really easy to mess up, so we say that all calls to |
| 266 // AddStandardScheme in Chrome must be inside this function. | 266 // AddStandardScheme in Chrome must be inside this function. |
| 267 url_util::LockStandardSchemes(); | 267 url_util::LockStandardSchemes(); |
| 268 } | 268 } |
| 269 | 269 |
| 270 } // namespace chrome | 270 } // namespace chrome |
| OLD | NEW |