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

Unified Diff: remoting/host/clipboard_mac.mm

Issue 930403002: Remove remoting::Clipboard::Stop(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « remoting/host/clipboard.h ('k') | remoting/host/clipboard_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/clipboard_mac.mm
diff --git a/remoting/host/clipboard_mac.mm b/remoting/host/clipboard_mac.mm
index f3f369eec756be80b9538257714644414538a055..68c753b668a55cdfcf98ee155f503967f9ecbd33 100644
--- a/remoting/host/clipboard_mac.mm
+++ b/remoting/host/clipboard_mac.mm
@@ -33,7 +33,6 @@ class ClipboardMac : public Clipboard {
// Must be called on the UI thread.
void Start(scoped_ptr<protocol::ClipboardStub> client_clipboard) override;
void InjectClipboardEvent(const protocol::ClipboardEvent& event) override;
- void Stop() override;
private:
void CheckClipboardForChanges();
@@ -90,11 +89,6 @@ void ClipboardMac::InjectClipboardEvent(const protocol::ClipboardEvent& event) {
current_change_count_ = [[NSPasteboard generalPasteboard] changeCount];
}
-void ClipboardMac::Stop() {
- clipboard_polling_timer_.reset();
- client_clipboard_.reset();
-}
-
void ClipboardMac::CheckClipboardForChanges() {
NSPasteboard* pasteboard = [NSPasteboard generalPasteboard];
NSInteger change_count = [pasteboard changeCount];
« no previous file with comments | « remoting/host/clipboard.h ('k') | remoting/host/clipboard_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698