| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ | 5 #ifndef NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ |
| 6 #define NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ | 6 #define NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/observer_list_threadsafe.h" | 14 #include "base/observer_list_threadsafe.h" |
| 14 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 15 #include "net/base/net_export.h" | 16 #include "net/base/net_export.h" |
| 16 | 17 |
| 17 class GURL; | 18 class GURL; |
| 18 | 19 |
| 19 namespace net { | 20 namespace net { |
| 20 | 21 |
| 21 struct DnsConfig; | 22 struct DnsConfig; |
| 22 class HistogramWatcher; | 23 class HistogramWatcher; |
| (...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 | 572 |
| 572 // Set true to disable non-test notifications (to prevent flakes in tests). | 573 // Set true to disable non-test notifications (to prevent flakes in tests). |
| 573 static bool test_notifications_only_; | 574 static bool test_notifications_only_; |
| 574 | 575 |
| 575 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifier); | 576 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifier); |
| 576 }; | 577 }; |
| 577 | 578 |
| 578 } // namespace net | 579 } // namespace net |
| 579 | 580 |
| 580 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ | 581 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ |
| OLD | NEW |