| 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> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/macros.h" | 12 #include "base/macros.h" |
| 12 #include "base/observer_list_threadsafe.h" | 13 #include "base/observer_list_threadsafe.h" |
| 13 #include "base/time/time.h" | 14 #include "base/time/time.h" |
| 14 #include "net/base/net_export.h" | 15 #include "net/base/net_export.h" |
| 15 | 16 |
| 16 class GURL; | 17 class GURL; |
| 17 | 18 |
| 18 namespace net { | 19 namespace net { |
| 19 | 20 |
| 20 struct DnsConfig; | 21 struct DnsConfig; |
| (...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 558 | 559 |
| 559 // Set true to disable non-test notifications (to prevent flakes in tests). | 560 // Set true to disable non-test notifications (to prevent flakes in tests). |
| 560 static bool test_notifications_only_; | 561 static bool test_notifications_only_; |
| 561 | 562 |
| 562 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifier); | 563 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifier); |
| 563 }; | 564 }; |
| 564 | 565 |
| 565 } // namespace net | 566 } // namespace net |
| 566 | 567 |
| 567 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ | 568 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_H_ |
| OLD | NEW |