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

Unified Diff: chrome/browser/notifications/desktop_notification_service.cc

Issue 1102353003: [chrome/browser/notifications] favor DCHECK_CURRENTLY_ON for better logs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/notifications/desktop_notification_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/desktop_notification_service.cc
diff --git a/chrome/browser/notifications/desktop_notification_service.cc b/chrome/browser/notifications/desktop_notification_service.cc
index 87ef6798132a6f451a3139196e5a3a4e8ee2b29a..24e1fb332d26e55183d3792423665199797c3792 100644
--- a/chrome/browser/notifications/desktop_notification_service.cc
+++ b/chrome/browser/notifications/desktop_notification_service.cc
@@ -93,7 +93,7 @@ void DesktopNotificationService::RequestNotificationPermission(
const GURL& requesting_origin,
bool user_gesture,
const BrowserPermissionCallback& result_callback) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(BrowserThread::UI);
#if defined(ENABLE_EXTENSIONS)
extensions::InfoMap* extension_info_map =
« no previous file with comments | « no previous file | chrome/browser/notifications/desktop_notification_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698