| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/public/test/browser_test_utils.h" | 5 #include "content/public/test/browser_test_utils.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <tuple> | 8 #include <tuple> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 1839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1850 | 1850 |
| 1851 IPC::IpcSecurityTestUtil::PwnMessageReceived( | 1851 IPC::IpcSecurityTestUtil::PwnMessageReceived( |
| 1852 process->GetChannel(), | 1852 process->GetChannel(), |
| 1853 FileSystemHostMsg_Write(request_id, file_path, blob_uuid, position)); | 1853 FileSystemHostMsg_Write(request_id, file_path, blob_uuid, position)); |
| 1854 | 1854 |
| 1855 // If this started an async operation, wait for it to complete. | 1855 // If this started an async operation, wait for it to complete. |
| 1856 if (waiter.did_start_update()) | 1856 if (waiter.did_start_update()) |
| 1857 waiter.WaitForEndUpdate(); | 1857 waiter.WaitForEndUpdate(); |
| 1858 } | 1858 } |
| 1859 | 1859 |
| 1860 void RegisterDragStartCallback(DragStartCallback callback) { |
| 1861 RenderWidgetHostImpl::RegisterDragStartCallbackForTesting( |
| 1862 std::move(callback)); |
| 1863 } |
| 1864 |
| 1860 } // namespace content | 1865 } // namespace content |
| OLD | NEW |