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

Unified Diff: content/browser/navigator_connect/navigator_connect_context_impl.cc

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: rebase Created 4 years, 11 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: content/browser/navigator_connect/navigator_connect_context_impl.cc
diff --git a/content/browser/navigator_connect/navigator_connect_context_impl.cc b/content/browser/navigator_connect/navigator_connect_context_impl.cc
index f571b9fe5fd2037eadec5bac874d0bad33c7e34d..02459122ce822a21321b1efe4bcf6527501fa89e 100644
--- a/content/browser/navigator_connect/navigator_connect_context_impl.cc
+++ b/content/browser/navigator_connect/navigator_connect_context_impl.cc
@@ -226,7 +226,7 @@ void NavigatorConnectContextImpl::OnConnectResult(
if (!worker->FinishRequest(request_id))
return;
- if (result != SERVICE_PORT_CONNECT_RESULT_ACCEPT) {
+ if (result != ServicePortConnectResult::ACCEPT) {
OnConnectError(callback, client_port_id, service_port_id,
SERVICE_WORKER_ERROR_FAILED);
return;
« no previous file with comments | « content/browser/media/cdm/browser_cdm_manager.cc ('k') | content/browser/navigator_connect/service_port_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698