OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "base/message_loop_proxy.h" | 5 #include "base/message_loop/message_loop_proxy.h" |
6 #include "base/synchronization/waitable_event.h" | 6 #include "base/synchronization/waitable_event.h" |
7 #include "base/threading/thread.h" | 7 #include "base/threading/thread.h" |
8 #include "net/test/spawned_test_server/spawned_test_server.h" | 8 #include "net/test/spawned_test_server/spawned_test_server.h" |
9 #include "net/url_request/test_url_fetcher_factory.h" | 9 #include "net/url_request/test_url_fetcher_factory.h" |
10 #include "net/url_request/url_fetcher_delegate.h" | 10 #include "net/url_request/url_fetcher_delegate.h" |
11 #include "net/url_request/url_request_test_util.h" | 11 #include "net/url_request/url_request_test_util.h" |
12 #include "sync/internal_api/public/http_bridge.h" | 12 #include "sync/internal_api/public/http_bridge.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 | 14 |
15 namespace syncer { | 15 namespace syncer { |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 // succeed even though we Release()d the bridge above because the call to | 399 // succeed even though we Release()d the bridge above because the call to |
400 // Abort should have held a reference. | 400 // Abort should have held a reference. |
401 io_waiter.Signal(); | 401 io_waiter.Signal(); |
402 | 402 |
403 // Done. | 403 // Done. |
404 sync_thread.Stop(); | 404 sync_thread.Stop(); |
405 io_thread()->Stop(); | 405 io_thread()->Stop(); |
406 } | 406 } |
407 | 407 |
408 } // namespace syncer | 408 } // namespace syncer |
OLD | NEW |