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

Unified Diff: components/proxy_resolver/main.cc

Issue 1128453004: Embed a simple Mojo shell in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: components/proxy_resolver/main.cc
diff --git a/components/resource_provider/main.cc b/components/proxy_resolver/main.cc
similarity index 58%
copy from components/resource_provider/main.cc
copy to components/proxy_resolver/main.cc
index 413a21b27d896c41e2d2e04f99d6dd2f318b91c0..ddd4907bfe11217d4f5aa905c85bdc4b57be9dec 100644
--- a/components/resource_provider/main.cc
+++ b/components/proxy_resolver/main.cc
@@ -2,12 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/resource_provider/resource_provider_app.h"
+#include "components/proxy_resolver/proxy_resolver_app.h"
#include "mojo/application/application_runner_chromium.h"
-#include "third_party/mojo/src/mojo/public/c/system/main.h"
+#include "third_party/mojo/src/mojo/public/c/system/types.h"
MojoResult MojoMain(MojoHandle shell_handle) {
- mojo::ApplicationRunnerChromium runner(
- new resource_provider::ResourceProviderApp);
+ mojo::ApplicationRunnerChromium runner(new proxy_resolver::ProxyResolverApp);
return runner.Run(shell_handle);
}

Powered by Google App Engine
This is Rietveld 408576698