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

Unified Diff: chrome/browser/push_messaging/push_messaging_service_impl.cc

Issue 2118243002: [proof-of-concept] SW thread independent of the main thread Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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 | content/browser/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/push_messaging/push_messaging_service_impl.cc
diff --git a/chrome/browser/push_messaging/push_messaging_service_impl.cc b/chrome/browser/push_messaging/push_messaging_service_impl.cc
index 17387bfe2861060e1a7d1b3ec3dc42c959a6efa2..4627ec5b40b9f9968e19c3bf28d093c2e4356a19 100644
--- a/chrome/browser/push_messaging/push_messaging_service_impl.cc
+++ b/chrome/browser/push_messaging/push_messaging_service_impl.cc
@@ -574,8 +574,9 @@ void PushMessagingServiceImpl::GetEncryptionInfo(
PushMessagingAppIdentifier::FindByServiceWorker(
profile_, origin, service_worker_registration_id);
- DCHECK(!app_identifier.is_null());
-
+ // DCHECK(!app_identifier.is_null());
+ if (app_identifier.is_null())
+ return;
GetGCMDriver()->GetEncryptionInfo(
app_identifier.app_id(),
base::Bind(&PushMessagingServiceImpl::DidGetEncryptionInfo,
« no previous file with comments | « no previous file | content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698