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

Unified Diff: chrome/common/url_constants.cc

Issue 734243003: Adding the chrome://copresence page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@state
Patch Set: Created 6 years 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: chrome/common/url_constants.cc
diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc
index 60d22246a2579c06430f0253e504ca38080e89a0..1f36d119d6b163a09d9f7a7287d4d451673cbeef 100644
--- a/chrome/common/url_constants.cc
+++ b/chrome/common/url_constants.cc
@@ -141,6 +141,10 @@ const char kChromeUITabModalConfirmDialogURL[] =
"chrome://tab-modal-confirm-dialog/";
#endif
+#if !defined(OS_ANDROID) && !defined(OS_IOS)
+const char kChromeUICopresenceURL[] = "chrome://copresence/";
+#endif
+
#if defined(ENABLE_WEBRTC)
const char kChromeUIWebRtcLogsURL[] = "chrome://webrtc-logs/";
#endif
@@ -316,6 +320,10 @@ const char kChromeOSAssetPath[] = "/usr/share/chromeos-assets/";
const char kChromeUITabModalConfirmDialogHost[] = "tab-modal-confirm-dialog";
#endif
+#if !defined(OS_ANDROID) && !defined(OS_IOS)
+const char kChromeUICopresenceHost[] = "copresence";
+#endif
+
#if defined(ENABLE_WEBRTC)
const char kChromeUIWebRtcLogsHost[] = "webrtc-logs";
#endif
@@ -623,6 +631,8 @@ const char* const kChromeHostURLs[] = {
#endif
#if defined(OS_ANDROID) || defined(OS_IOS)
kChromeUINetExportHost,
+#else // non-mobile
+ kChromeUICopresenceHost,
#endif
#if defined(OS_CHROMEOS)
kChromeUICertificateManagerHost,
« chrome/browser/ui/webui/copresence_ui_handler.cc ('K') | « chrome/common/url_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698