| Index: content/browser/ballista/ballista_service_impl.cc
|
| diff --git a/content/browser/ballista/ballista_service_impl.cc b/content/browser/ballista/ballista_service_impl.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8982e3e48120cd6092e259347df8a2e4bf3ebd69
|
| --- /dev/null
|
| +++ b/content/browser/ballista/ballista_service_impl.cc
|
| @@ -0,0 +1,33 @@
|
| +// Copyright 2016 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 "content/browser/ballista/ballista_service_impl.h"
|
| +
|
| +namespace content {
|
| +
|
| +BallistaServiceImpl::BallistaServiceImpl(
|
| + BrowserContext* context,
|
| + mojo::InterfaceRequest<BallistaService> request)
|
| + : context_(context), binding_(this, std::move(request)) {}
|
| +
|
| +BallistaServiceImpl::~BallistaServiceImpl() = default;
|
| +
|
| +// static
|
| +void BallistaServiceImpl::Create(
|
| + BrowserContext* context,
|
| + mojo::InterfaceRequest<BallistaService> request) {
|
| + new BallistaServiceImpl(context, std::move(request));
|
| +}
|
| +
|
| +void BallistaServiceImpl::Share(const mojo::String& title,
|
| + const mojo::String& text,
|
| + const ShareCallback& callback) {
|
| + NOTIMPLEMENTED() << ": \"" << title << "\", \"" << text << "\"";
|
| +
|
| + callback.Run("Not implemented: navigator.actions.share");
|
| +
|
| + static_cast<void>(context_);
|
| +}
|
| +
|
| +} // namespace content
|
|
|