| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "chrome/browser/chromeos/file_system_provider/queue.h" | 5 #include "chrome/browser/chromeos/file_system_provider/queue.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <vector> | 9 #include <vector> |
| 8 | 10 |
| 9 #include "base/files/file.h" | 11 #include "base/files/file.h" |
| 10 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
| 11 #include "content/public/test/test_browser_thread_bundle.h" | 13 #include "content/public/test/test_browser_thread_bundle.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 13 | 15 |
| 14 namespace chromeos { | 16 namespace chromeos { |
| 15 namespace file_system_provider { | 17 namespace file_system_provider { |
| 16 namespace { | 18 namespace { |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 | 279 |
| 278 base::RunLoop().RunUntilIdle(); | 280 base::RunLoop().RunUntilIdle(); |
| 279 EXPECT_EQ(1, first_counter); | 281 EXPECT_EQ(1, first_counter); |
| 280 EXPECT_EQ(1, first_abort_counter); | 282 EXPECT_EQ(1, first_abort_counter); |
| 281 EXPECT_EQ(0, second_counter); | 283 EXPECT_EQ(0, second_counter); |
| 282 EXPECT_EQ(0, second_abort_counter); | 284 EXPECT_EQ(0, second_abort_counter); |
| 283 } | 285 } |
| 284 | 286 |
| 285 } // namespace file_system_provider | 287 } // namespace file_system_provider |
| 286 } // namespace chromeos | 288 } // namespace chromeos |
| OLD | NEW |