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

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: 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/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 73ea2793ed43573ac6a024ef1be775752f1808eb..16065c18a370fe000e7947867095deca5093b08e 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