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 "chrome/browser/chromeos/file_system_provider/request_manager.h" | 5 #include "chrome/browser/chromeos/file_system_provider/request_manager.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <map> | 9 #include <map> |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/bind.h" | 13 #include "base/bind.h" |
12 #include "base/callback.h" | 14 #include "base/callback.h" |
13 #include "base/files/file.h" | 15 #include "base/files/file.h" |
14 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
| 17 #include "base/macros.h" |
15 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/scoped_vector.h" | 19 #include "base/memory/scoped_vector.h" |
17 #include "base/memory/weak_ptr.h" | 20 #include "base/memory/weak_ptr.h" |
18 #include "base/run_loop.h" | 21 #include "base/run_loop.h" |
19 #include "chrome/browser/chromeos/file_system_provider/notification_manager_inte
rface.h" | 22 #include "chrome/browser/chromeos/file_system_provider/notification_manager_inte
rface.h" |
20 #include "chrome/browser/chromeos/file_system_provider/request_value.h" | 23 #include "chrome/browser/chromeos/file_system_provider/request_value.h" |
21 #include "chrome/test/base/testing_profile.h" | 24 #include "chrome/test/base/testing_profile.h" |
22 #include "content/public/test/test_browser_thread_bundle.h" | 25 #include "content/public/test/test_browser_thread_bundle.h" |
23 #include "testing/gtest/include/gtest/gtest.h" | 26 #include "testing/gtest/include/gtest/gtest.h" |
24 | 27 |
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
802 | 805 |
803 // Wait until the request is timeouted again. | 806 // Wait until the request is timeouted again. |
804 base::RunLoop().RunUntilIdle(); | 807 base::RunLoop().RunUntilIdle(); |
805 EXPECT_EQ(1u, notification_manager_->size()); | 808 EXPECT_EQ(1u, notification_manager_->size()); |
806 | 809 |
807 request_manager_->RemoveObserver(&observer); | 810 request_manager_->RemoveObserver(&observer); |
808 } | 811 } |
809 | 812 |
810 } // namespace file_system_provider | 813 } // namespace file_system_provider |
811 } // namespace chromeos | 814 } // namespace chromeos |
OLD | NEW |