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

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

Issue 1465843003: Split Mandoline-specific components out of mojo:core_services. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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_aura.cc
diff --git a/mandoline/services/core_services/application_delegate_factory_aura.cc b/mandoline/services/core_services/application_delegate_factory_aura.cc
deleted file mode 100644
index c061bd8806002046171dd5a4274aa3dff76e4672..0000000000000000000000000000000000000000
--- a/mandoline/services/core_services/application_delegate_factory_aura.cc
+++ /dev/null
@@ -1,21 +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 "mandoline/ui/desktop_ui/browser_manager.h"
-#include "mandoline/ui/omnibox/omnibox_application.h"
-
-namespace core_services {
-
-scoped_ptr<mojo::ApplicationDelegate> CreateApplicationDelegateAura(
- const std::string& url) {
- if (url == "mojo://desktop_ui/")
- return make_scoped_ptr(new mandoline::BrowserManager);
- else if (url == "mojo://omnibox/")
- return make_scoped_ptr(new mandoline::OmniboxApplication);
- return nullptr;
-}
-
-} // namespace core_services

Powered by Google App Engine
This is Rietveld 408576698