OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/pairing_registry_delegate_linux.h" | 5 #include "remoting/host/pairing_registry_delegate_linux.h" |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
10 #include "base/task_runner.h" | 10 #include "base/task_runner.h" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 std::string test_data = "test data"; | 63 std::string test_data = "test data"; |
64 save_delegate->Save( | 64 save_delegate->Save( |
65 test_data, | 65 test_data, |
66 base::Bind(&PairingRegistryDelegateLinuxTest::SaveComplete, | 66 base::Bind(&PairingRegistryDelegateLinuxTest::SaveComplete, |
67 base::Unretained(this), | 67 base::Unretained(this), |
68 load_delegate.get(), | 68 load_delegate.get(), |
69 test_data)); | 69 test_data)); |
70 | 70 |
71 run_loop.Run(); | 71 run_loop.Run(); |
72 | 72 |
73 base::Delete(temp_dir, true); | 73 base::DeleteFile(temp_dir, true); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace remoting | 76 } // namespace remoting |
OLD | NEW |