| 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 chrome { | 9 namespace chrome { |
| 10 | 10 |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 "https://www.google.com/support/chrome/bin/answer.py?answer=95617"; | 246 "https://www.google.com/support/chrome/bin/answer.py?answer=95617"; |
| 247 #endif | 247 #endif |
| 248 | 248 |
| 249 const char kCrashReasonURL[] = | 249 const char kCrashReasonURL[] = |
| 250 #if defined(OS_CHROMEOS) | 250 #if defined(OS_CHROMEOS) |
| 251 "https://www.google.com/support/chromeos/bin/answer.py?answer=1047340"; | 251 "https://www.google.com/support/chromeos/bin/answer.py?answer=1047340"; |
| 252 #else | 252 #else |
| 253 "https://www.google.com/support/chrome/bin/answer.py?answer=95669"; | 253 "https://www.google.com/support/chrome/bin/answer.py?answer=95669"; |
| 254 #endif | 254 #endif |
| 255 | 255 |
| 256 // TODO: These are currently placeholders that point to the crash | |
| 257 // docs. See bug http://crosbug.com/10711 | |
| 258 const char kKillReasonURL[] = | 256 const char kKillReasonURL[] = |
| 259 #if defined(OS_CHROMEOS) | 257 "http://www.google.com/support/chrome/bin/answer.py?answer=1270364"; |
| 260 "https://www.google.com/support/chromeos/bin/answer.py?answer=1047340"; | |
| 261 #else | |
| 262 "https://www.google.com/support/chrome/bin/answer.py?answer=95669"; | |
| 263 #endif | |
| 264 | 258 |
| 265 const char kPrivacyLearnMoreURL[] = | 259 const char kPrivacyLearnMoreURL[] = |
| 266 #if defined(OS_CHROMEOS) | 260 #if defined(OS_CHROMEOS) |
| 267 "https://www.google.com/support/chromeos/bin/answer.py?answer=1047334"; | 261 "https://www.google.com/support/chromeos/bin/answer.py?answer=1047334"; |
| 268 #else | 262 #else |
| 269 "https://www.google.com/support/chrome/bin/answer.py?answer=114836"; | 263 "https://www.google.com/support/chrome/bin/answer.py?answer=114836"; |
| 270 #endif | 264 #endif |
| 271 | 265 |
| 272 const char kChromiumProjectURL[] = "http://code.google.com/chromium/"; | 266 const char kChromiumProjectURL[] = "http://code.google.com/chromium/"; |
| 273 | 267 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 304 | 298 |
| 305 // Prevent future modification of the standard schemes list. This is to | 299 // Prevent future modification of the standard schemes list. This is to |
| 306 // prevent accidental creation of data races in the program. AddStandardScheme | 300 // prevent accidental creation of data races in the program. AddStandardScheme |
| 307 // isn't threadsafe so must be called when GURL isn't used on any other | 301 // isn't threadsafe so must be called when GURL isn't used on any other |
| 308 // thread. This is really easy to mess up, so we say that all calls to | 302 // thread. This is really easy to mess up, so we say that all calls to |
| 309 // AddStandardScheme in Chrome must be inside this function. | 303 // AddStandardScheme in Chrome must be inside this function. |
| 310 url_util::LockStandardSchemes(); | 304 url_util::LockStandardSchemes(); |
| 311 } | 305 } |
| 312 | 306 |
| 313 } // namespace chrome | 307 } // namespace chrome |
| OLD | NEW |