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

Side by Side Diff: components/clipboard/clipboard_application_delegate.h

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 unified diff | Download patch
« no previous file with comments | « components/clipboard/OWNERS ('k') | components/clipboard/clipboard_application_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_CLIPBOARD_CLIBPOARD_APPLICATION_DELEGATE_H_
6 #define COMPONENTS_CLIPBOARD_CLIBPOARD_APPLICATION_DELEGATE_H_
7
8 #include "base/macros.h"
9 #include "components/clipboard/public/interfaces/clipboard.mojom.h"
10 #include "mojo/services/tracing/public/cpp/tracing_impl.h"
11 #include "mojo/shell/public/cpp/interface_factory.h"
12 #include "mojo/shell/public/cpp/shell_client.h"
13
14 namespace clipboard {
15
16 class ClipboardApplicationDelegate
17 : public mojo::ShellClient,
18 public mojo::InterfaceFactory<mojo::Clipboard> {
19 public:
20 ClipboardApplicationDelegate();
21 ~ClipboardApplicationDelegate() override;
22
23 // mojo::ShellClient implementation.
24 void Initialize(mojo::Shell* shell, const std::string& url,
25 uint32_t id) override;
26 bool AcceptConnection(mojo::Connection* connection) override;
27
28 // mojo::InterfaceFactory<mojo::Clipboard> implementation.
29 void Create(mojo::Connection* connection,
30 mojo::InterfaceRequest<mojo::Clipboard> request) override;
31
32 private:
33 mojo::TracingImpl tracing_;
34
35 DISALLOW_COPY_AND_ASSIGN(ClipboardApplicationDelegate);
36 };
37
38 } // namespace clipboard
39
40 #endif // COMPONENTS_CLIPBOARD_CLIBPOARD_APPLICATION_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/clipboard/OWNERS ('k') | components/clipboard/clipboard_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698