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

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
« no previous file with comments | « chrome/common/url_constants.h ('k') | components/copresence/copresence_state_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/url_constants.cc
diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc
index f6a946e35997b96f99b7327fa90e30f685d7835e..d021367974b0e7b13bfa737cba711e3e07196384 100644
--- a/chrome/common/url_constants.cc
+++ b/chrome/common/url_constants.cc
@@ -140,6 +140,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
@@ -315,6 +319,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
@@ -622,6 +630,8 @@ const char* const kChromeHostURLs[] = {
#endif
#if defined(OS_ANDROID) || defined(OS_IOS)
kChromeUINetExportHost,
+#else // non-mobile
+ kChromeUICopresenceHost,
#endif
#if defined(OS_CHROMEOS)
kChromeUICertificateManagerHost,
« no previous file with comments | « chrome/common/url_constants.h ('k') | components/copresence/copresence_state_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698