| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "net/log/net_log.h" | 5 #include "net/log/net_log.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/macros.h" |
| 8 #include "base/synchronization/waitable_event.h" | 9 #include "base/synchronization/waitable_event.h" |
| 9 #include "base/threading/simple_thread.h" | 10 #include "base/threading/simple_thread.h" |
| 10 #include "base/values.h" | 11 #include "base/values.h" |
| 11 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
| 12 #include "net/log/test_net_log.h" | 13 #include "net/log/test_net_log.h" |
| 13 #include "net/log/test_net_log_entry.h" | 14 #include "net/log/test_net_log_entry.h" |
| 14 #include "net/log/test_net_log_util.h" | 15 #include "net/log/test_net_log_util.h" |
| 15 | 16 |
| 16 namespace net { | 17 namespace net { |
| 17 | 18 |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 NetLog net_log; | 389 NetLog net_log; |
| 389 | 390 |
| 390 // Run a bunch of threads to completion, each of which will repeatedly add | 391 // Run a bunch of threads to completion, each of which will repeatedly add |
| 391 // and remove an observer, and set its logging level. | 392 // and remove an observer, and set its logging level. |
| 392 RunTestThreads<AddRemoveObserverTestThread>(&net_log); | 393 RunTestThreads<AddRemoveObserverTestThread>(&net_log); |
| 393 } | 394 } |
| 394 | 395 |
| 395 } // namespace | 396 } // namespace |
| 396 | 397 |
| 397 } // namespace net | 398 } // namespace net |
| OLD | NEW |