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

Unified Diff: content/child/navigator_connect/service_port_provider.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/child/navigator_connect/service_port_provider.cc
diff --git a/content/child/navigator_connect/service_port_provider.cc b/content/child/navigator_connect/service_port_provider.cc
index 79bf8a5897bec357778b9865fa319aa1424f26f7..5082665ed529759f715ccd55b95b9cb54140b834 100644
--- a/content/child/navigator_connect/service_port_provider.cc
+++ b/content/child/navigator_connect/service_port_provider.cc
@@ -109,7 +109,7 @@ void ServicePortProvider::OnConnectResult(
scoped_ptr<blink::WebServicePortConnectCallbacks> callbacks,
ServicePortConnectResult result,
int32_t port_id) {
- if (result == SERVICE_PORT_CONNECT_RESULT_ACCEPT) {
+ if (result == ServicePortConnectResult::ACCEPT) {
callbacks->onSuccess(port_id);
} else {
callbacks->onError();
« no previous file with comments | « content/child/navigator_connect/service_port_dispatcher_impl.cc ('k') | content/child/permissions/permission_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698