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

Unified Diff: ui/base/test/test_clipboard.h

Issue 740003003: Revert of Rewrite clipboard write IPC handling to be easier to understand. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « ui/base/clipboard/scoped_clipboard_writer.cc ('k') | ui/base/test/test_clipboard.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/test/test_clipboard.h
diff --git a/ui/base/test/test_clipboard.h b/ui/base/test/test_clipboard.h
index 58fa5075fa613abe76ea593552769cdf26013da6..c1701bf72464242fe041bd3aa538d3b7a161fd67 100644
--- a/ui/base/test/test_clipboard.h
+++ b/ui/base/test/test_clipboard.h
@@ -16,10 +16,7 @@
TestClipboard();
~TestClipboard() override;
- // Creates and associates a TestClipboard with the current thread. When no
- // longer needed, the returned clipboard must be freed by calling
- // Clipboard::DestroyClipboardForCurrentThread() on the same thread.
- static Clipboard* CreateForCurrentThread();
+ static void UseForCurrentThread();
// Clipboard overrides.
uint64 GetSequenceNumber(ClipboardType type) const override;
« no previous file with comments | « ui/base/clipboard/scoped_clipboard_writer.cc ('k') | ui/base/test/test_clipboard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698