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

Unified Diff: components/clipboard/clipboard_application_delegate.cc

Issue 1685953002: mojo: Now that mandoline/ is deleted, also remove mojo:clipboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android build. 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
« no previous file with comments | « components/clipboard/clipboard_application_delegate.h ('k') | components/clipboard/clipboard_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/clipboard/clipboard_application_delegate.cc
diff --git a/components/clipboard/clipboard_application_delegate.cc b/components/clipboard/clipboard_application_delegate.cc
deleted file mode 100644
index 077ec90f44e4d3587604aae8b4dfdea6d4887297..0000000000000000000000000000000000000000
--- a/components/clipboard/clipboard_application_delegate.cc
+++ /dev/null
@@ -1,38 +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 "components/clipboard/clipboard_application_delegate.h"
-
-#include <utility>
-
-#include "components/clipboard/clipboard_standalone_impl.h"
-#include "mojo/shell/public/cpp/connection.h"
-
-namespace clipboard {
-
-ClipboardApplicationDelegate::ClipboardApplicationDelegate() {}
-
-ClipboardApplicationDelegate::~ClipboardApplicationDelegate() {}
-
-void ClipboardApplicationDelegate::Initialize(mojo::Shell* shell,
- const std::string& url,
- uint32_t id) {
- tracing_.Initialize(shell, url);
-}
-
-bool ClipboardApplicationDelegate::AcceptConnection(
- mojo::Connection* connection) {
- connection->AddInterface(this);
- return true;
-}
-
-void ClipboardApplicationDelegate::Create(
- mojo::Connection* connection,
- mojo::InterfaceRequest<mojo::Clipboard> request) {
- // TODO(erg): Write native implementations of the clipboard. For now, we
- // just build a clipboard which doesn't interact with the system.
- new clipboard::ClipboardStandaloneImpl(std::move(request));
-}
-
-} // namespace clipboard
« no previous file with comments | « components/clipboard/clipboard_application_delegate.h ('k') | components/clipboard/clipboard_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698