| OLD | NEW |
| (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_ARC_CLIPBOARD_CLIPBOARD_BRIDGE_H_ |
| 6 #define COMPONENTS_ARC_CLIPBOARD_CLIPBOARD_BRIDGE_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "components/arc/arc_bridge_service.h" |
| 10 |
| 11 namespace arc { |
| 12 |
| 13 class ArcBridgeService; |
| 14 |
| 15 // The ClipboardBridge is responsible for sending clipboard content changes |
| 16 // from Android to Chrome and vice versa. |
| 17 class ClipboardBridge { |
| 18 public: |
| 19 virtual ~ClipboardBridge() {} |
| 20 |
| 21 // Creates a new instance of ClipboardBridge. It will register an |
| 22 // ClipboardObserver with the ArcBridgeService. |
| 23 static scoped_ptr<ClipboardBridge> Create( |
| 24 ArcBridgeService* arc_bridge_service); |
| 25 |
| 26 protected: |
| 27 ClipboardBridge() {} |
| 28 |
| 29 private: |
| 30 DISALLOW_COPY_AND_ASSIGN(ClipboardBridge); |
| 31 }; |
| 32 |
| 33 } // namespace arc |
| 34 #endif // COMPONENTS_ARC_CLIPBOARD_CLIPBOARD_BRIDGE_H_ |
| OLD | NEW |