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

Unified Diff: content/browser/navigator_connect/service_port_service_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: Created 4 years, 12 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/service_port_service_impl.cc
diff --git a/content/browser/navigator_connect/service_port_service_impl.cc b/content/browser/navigator_connect/service_port_service_impl.cc
index 310c304ab3e09e057c44550b91980935f114f5a5..7e4379e183fc54a62724169562c41c45061a446e 100644
--- a/content/browser/navigator_connect/service_port_service_impl.cc
+++ b/content/browser/navigator_connect/service_port_service_impl.cc
@@ -124,8 +124,8 @@ void ServicePortServiceImpl::ClosePort(int32_t port_id) {
void ServicePortServiceImpl::OnConnectResult(const ConnectCallback& callback,
int message_port_id,
bool success) {
- callback.Run(success ? SERVICE_PORT_CONNECT_RESULT_ACCEPT
- : SERVICE_PORT_CONNECT_RESULT_REJECT,
+ callback.Run(success ? ServicePortConnectResult::ACCEPT
+ : ServicePortConnectResult::REJECT,
message_port_id);
}

Powered by Google App Engine
This is Rietveld 408576698