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 <stddef.h> |
| 6 |
5 #include <string> | 7 #include <string> |
6 | 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/callback.h" | 10 #include "base/callback.h" |
9 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
10 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
11 #include "base/location.h" | 13 #include "base/location.h" |
12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
13 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
14 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 cmd, | 816 cmd, |
815 false, | 817 false, |
816 params, | 818 params, |
817 id, | 819 id, |
818 base::Bind(&OnFailBecauseErrorNotifyingListeners, &run_loop)); | 820 base::Bind(&OnFailBecauseErrorNotifyingListeners, &run_loop)); |
819 run_loop.Run(); | 821 run_loop.Run(); |
820 | 822 |
821 thread->task_runner()->PostTask(FROM_HERE, | 823 thread->task_runner()->PostTask(FROM_HERE, |
822 base::Bind(&VerifySessionWasDeleted)); | 824 base::Bind(&VerifySessionWasDeleted)); |
823 } | 825 } |
OLD | NEW |