| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1b3f4c1242a0746885c42c66b58aa16e85c338f4
|
| --- /dev/null
|
| +++ b/mandoline/services/core_services/application_delegate_factory_aura.cc
|
| @@ -0,0 +1,17 @@
|
| +// 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/omnibox/omnibox_impl.h"
|
| +
|
| +namespace core_services {
|
| +
|
| +scoped_ptr<mojo::ApplicationDelegate> CreateApplicationDelegateAura(
|
| + const std::string& url) {
|
| + return url == "mojo://omnibox/" ? make_scoped_ptr(new mandoline::OmniboxImpl)
|
| + : nullptr;
|
| +}
|
| +
|
| +} // namespace core_services
|
|
|