Index: services/authenticating_url_loader_interceptor/main.cc |
diff --git a/services/authenticating_url_loader_interceptor/main.cc b/services/authenticating_url_loader_interceptor/main.cc |
index ff9548ebf93f5f81c877bcd71ff380f571ec3b9f..6a13516ee914e44a77a28e5311a01d3b1e40d04a 100644 |
--- a/services/authenticating_url_loader_interceptor/main.cc |
+++ b/services/authenticating_url_loader_interceptor/main.cc |
@@ -2,11 +2,13 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "mojo/environment/scoped_chromium_init.h" |
#include "mojo/public/c/system/main.h" |
#include "mojo/public/cpp/application/run_application.h" |
#include "services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_app.h" |
MojoResult MojoMain(MojoHandle application_request) { |
+ mojo::ScopedChromiumInit init; |
mojo::AuthenticatingURLLoaderInterceptorApp app; |
- return mojo::RunMainApplication(application_request, &app); |
+ return mojo::RunApplication(application_request, &app); |
} |