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

Unified Diff: mandoline/services/core_services/application_delegate_factory_notandroid.cc

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 10 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: mandoline/services/core_services/application_delegate_factory_notandroid.cc
diff --git a/mandoline/services/core_services/application_delegate_factory_notandroid.cc b/mandoline/services/core_services/application_delegate_factory_notandroid.cc
deleted file mode 100644
index 8ea2af036ffc401a458a125a5580af3b0ddf9b3f..0000000000000000000000000000000000000000
--- a/mandoline/services/core_services/application_delegate_factory_notandroid.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "mandoline/services/core_services/application_delegate_factory.h"
-
-#include "components/mus/mus_app.h"
-#include "components/resource_provider/resource_provider_app.h"
-#include "mojo/services/network/network_service_delegate.h"
-
-namespace core_services {
-
-scoped_ptr<mojo::ShellClient> CreateApplicationDelegateNotAndroid(
- const std::string& url) {
- if (url == "mojo://network_service/")
- return make_scoped_ptr(new mojo::NetworkServiceDelegate);
- if (url == "mojo://resource_provider/") {
- return make_scoped_ptr(
- new resource_provider::ResourceProviderApp("mojo:core_services"));
- }
- if (url == "mojo://mus/")
- return make_scoped_ptr(new mus::MandolineUIServicesApp);
- return nullptr;
-}
-
-} // namespace core_services

Powered by Google App Engine
This is Rietveld 408576698