OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/host/chromeos/clipboard_aura.h" | 5 #include "remoting/host/clipboard_aura.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
12 #include "base/test/test_timeouts.h" | 12 #include "base/test/test_timeouts.h" |
13 #include "remoting/base/constants.h" | 13 #include "remoting/base/constants.h" |
14 #include "remoting/proto/event.pb.h" | 14 #include "remoting/proto/event.pb.h" |
15 #include "remoting/protocol/clipboard_stub.h" | 15 #include "remoting/protocol/clipboard_stub.h" |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 FROM_HERE, base::Bind(&ClipboardAuraTest_MonitorClipboardChanges_Test:: | 120 FROM_HERE, base::Bind(&ClipboardAuraTest_MonitorClipboardChanges_Test:: |
121 StopAndResetClipboard, | 121 StopAndResetClipboard, |
122 base::Unretained(this)), | 122 base::Unretained(this)), |
123 TestTimeouts::tiny_timeout()); | 123 TestTimeouts::tiny_timeout()); |
124 message_loop_.PostDelayedTask(FROM_HERE, base::MessageLoop::QuitClosure(), | 124 message_loop_.PostDelayedTask(FROM_HERE, base::MessageLoop::QuitClosure(), |
125 TestTimeouts::tiny_timeout()); | 125 TestTimeouts::tiny_timeout()); |
126 message_loop_.Run(); | 126 message_loop_.Run(); |
127 } | 127 } |
128 | 128 |
129 } // namespace remoting | 129 } // namespace remoting |
OLD | NEW |