Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: chrome/common/url_constants.cc

Issue 6053012: This adds a "killed tab" page and pages reload when killed on ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed indent Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/url_constants.h ('k') | chrome/renderer/about_handler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 #include <stdlib.h> 6 #include <stdlib.h>
7 7
8 #include "chrome/common/url_constants.h" 8 #include "chrome/common/url_constants.h"
9 #include "googleurl/src/url_util.h" 9 #include "googleurl/src/url_util.h"
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 kChromeUIScheme, 44 kChromeUIScheme,
45 NULL 45 NULL
46 }; 46 };
47 47
48 const char kAboutAboutURL[] = "about:about"; 48 const char kAboutAboutURL[] = "about:about";
49 const char kAboutAppCacheInternalsURL[] = "about:appcache-internals"; 49 const char kAboutAppCacheInternalsURL[] = "about:appcache-internals";
50 const char kAboutBlankURL[] = "about:blank"; 50 const char kAboutBlankURL[] = "about:blank";
51 const char kAboutCacheURL[] = "about:cache"; 51 const char kAboutCacheURL[] = "about:cache";
52 const char kAboutConflicts[] = "about:conflicts"; 52 const char kAboutConflicts[] = "about:conflicts";
53 const char kAboutCrashURL[] = "about:crash"; 53 const char kAboutCrashURL[] = "about:crash";
54 const char kAboutKillURL[] = "about:kill";
54 const char kAboutCreditsURL[] = "about:credits"; 55 const char kAboutCreditsURL[] = "about:credits";
55 const char kAboutDNSURL[] = "about:dns"; 56 const char kAboutDNSURL[] = "about:dns";
56 const char kAboutFlagsURL[] = "about:flags"; 57 const char kAboutFlagsURL[] = "about:flags";
57 const char kAboutGpuURL[] = "about:gpu"; 58 const char kAboutGpuURL[] = "about:gpu";
58 const char kAboutGpuCrashURL[] = "about:gpucrash"; 59 const char kAboutGpuCrashURL[] = "about:gpucrash";
59 const char kAboutGpuHangURL[] = "about:gpuhang"; 60 const char kAboutGpuHangURL[] = "about:gpuhang";
60 const char kAboutHangURL[] = "about:hang"; 61 const char kAboutHangURL[] = "about:hang";
61 const char kAboutHistogramsURL[] = "about:histograms"; 62 const char kAboutHistogramsURL[] = "about:histograms";
62 const char kAboutMemoryURL[] = "about:memory"; 63 const char kAboutMemoryURL[] = "about:memory";
63 const char kAboutNetInternalsURL[] = "about:net-internals"; 64 const char kAboutNetInternalsURL[] = "about:net-internals";
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 "http://www.google.com/support/chrome/bin/answer.py?answer=95617"; 198 "http://www.google.com/support/chrome/bin/answer.py?answer=95617";
198 #endif 199 #endif
199 200
200 const char kCrashReasonURL[] = 201 const char kCrashReasonURL[] =
201 #if defined(OS_CHROMEOS) 202 #if defined(OS_CHROMEOS)
202 "http://www.google.com/support/chromeos/bin/answer.py?answer=1047340"; 203 "http://www.google.com/support/chromeos/bin/answer.py?answer=1047340";
203 #else 204 #else
204 "http://www.google.com/support/chrome/bin/answer.py?answer=95669"; 205 "http://www.google.com/support/chrome/bin/answer.py?answer=95669";
205 #endif 206 #endif
206 207
208 // TODO: These are currently placeholders that point to the crash
209 // docs. See bug http://crosbug.com/10711
210 const char kKillReasonURL[] =
211 #if defined(OS_CHROMEOS)
212 "http://www.google.com/support/chromeos/bin/answer.py?answer=1047340";
213 #else
214 "http://www.google.com/support/chrome/bin/answer.py?answer=95669";
215 #endif
216
207 const char kPrivacyLearnMoreURL[] = 217 const char kPrivacyLearnMoreURL[] =
208 #if defined(OS_CHROMEOS) 218 #if defined(OS_CHROMEOS)
209 "http://www.google.com/support/chromeos/bin/answer.py?answer=1047334"; 219 "http://www.google.com/support/chromeos/bin/answer.py?answer=1047334";
210 #else 220 #else
211 "http://www.google.com/support/chrome/bin/answer.py?answer=114836"; 221 "http://www.google.com/support/chrome/bin/answer.py?answer=114836";
212 #endif 222 #endif
213 223
214 const char kChromiumProjectURL[] = "http://code.google.com/chromium/"; 224 const char kChromiumProjectURL[] = "http://code.google.com/chromium/";
215 225
216 const char kLearnMoreReportingURL[] = 226 const char kLearnMoreReportingURL[] =
(...skipping 13 matching lines...) Expand all
230 240
231 // Prevent future modification of the standard schemes list. This is to 241 // Prevent future modification of the standard schemes list. This is to
232 // prevent accidental creation of data races in the program. AddStandardScheme 242 // prevent accidental creation of data races in the program. AddStandardScheme
233 // isn't threadsafe so must be called when GURL isn't used on any other 243 // isn't threadsafe so must be called when GURL isn't used on any other
234 // thread. This is really easy to mess up, so we say that all calls to 244 // thread. This is really easy to mess up, so we say that all calls to
235 // AddStandardScheme in Chrome must be inside this function. 245 // AddStandardScheme in Chrome must be inside this function.
236 url_util::LockStandardSchemes(); 246 url_util::LockStandardSchemes();
237 } 247 }
238 248
239 } // namespace chrome 249 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/url_constants.h ('k') | chrome/renderer/about_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698