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

Unified Diff: components/sad_tab/url_constants.cc

Issue 543663002: Componentize sad_tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: components/sad_tab/url_constants.cc
diff --git a/components/sad_tab/url_constants.cc b/components/sad_tab/url_constants.cc
new file mode 100644
index 0000000000000000000000000000000000000000..1188fb7b77ab13af4e25570b39c767b3c90f063c
--- /dev/null
+++ b/components/sad_tab/url_constants.cc
@@ -0,0 +1,23 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/sad_tab/url_constants.h"
+
+namespace sad_tab {
+
+const char kCrashReasonURL[] =
+#if defined(OS_CHROMEOS)
+ "https://support.google.com/chromeos/?p=e_awsnap";
+#else
+ "https://support.google.com/chrome/?p=e_awsnap";
+#endif
+
+const char kKillReasonURL[] =
+#if defined(OS_CHROMEOS)
+ "https://support.google.com/chromeos/?p=e_deadjim";
+#else
+ "https://support.google.com/chrome/?p=e_deadjim";
+#endif
+
sadrul 2014/09/22 16:48:22 An alternate for this is: #if defined(OS_CHROMEOS
hashimoto 2014/09/26 08:43:35 Done.
+} // namespace sad_tab

Powered by Google App Engine
This is Rietveld 408576698