OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/memory/ref_counted.h" | 6 #include "base/memory/ref_counted.h" |
7 #include "base/message_loop_proxy.h" | 7 #include "base/message_loop_proxy.h" |
8 #include "base/synchronization/waitable_event.h" | 8 #include "base/synchronization/waitable_event.h" |
9 #include "base/threading/thread.h" | 9 #include "base/threading/thread.h" |
| 10 #include "base/values.h" |
10 #include "chrome/service/cloud_print/cloud_print_url_fetcher.h" | 11 #include "chrome/service/cloud_print/cloud_print_url_fetcher.h" |
11 #include "chrome/service/service_process.h" | 12 #include "chrome/service/service_process.h" |
12 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
13 #include "net/test/test_server.h" | 14 #include "net/test/test_server.h" |
14 #include "net/url_request/url_request_context_getter.h" | 15 #include "net/url_request/url_request_context_getter.h" |
15 #include "net/url_request/url_request_status.h" | 16 #include "net/url_request/url_request_status.h" |
16 #include "net/url_request/url_request_test_util.h" | 17 #include "net/url_request/url_request_test_util.h" |
17 #include "net/url_request/url_request_throttler_manager.h" | 18 #include "net/url_request/url_request_throttler_manager.h" |
18 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
19 | 20 |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 manager->OverrideEntryForTests(url, entry); | 353 manager->OverrideEntryForTests(url, entry); |
353 | 354 |
354 CreateFetcher(url, 11); | 355 CreateFetcher(url, 11); |
355 | 356 |
356 MessageLoop::current()->Run(); | 357 MessageLoop::current()->Run(); |
357 | 358 |
358 net::URLRequestThrottlerManager::GetInstance()->EraseEntryForTests(url); | 359 net::URLRequestThrottlerManager::GetInstance()->EraseEntryForTests(url); |
359 } | 360 } |
360 | 361 |
361 } // namespace. | 362 } // namespace. |
OLD | NEW |