| 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_CONFIG_WATCHER_MAC_H_ | 5 #ifndef NET_BASE_NETWORK_CONFIG_WATCHER_MAC_H_ | 
| 6 #define NET_BASE_NETWORK_CONFIG_WATCHER_MAC_H_ | 6 #define NET_BASE_NETWORK_CONFIG_WATCHER_MAC_H_ | 
| 7 | 7 | 
| 8 #include <SystemConfiguration/SCDynamicStore.h> | 8 #include <SystemConfiguration/SCDynamicStore.h> | 
| 9 | 9 | 
| 10 #include "base/basictypes.h" |  | 
| 11 #include "base/mac/scoped_cftyperef.h" | 10 #include "base/mac/scoped_cftyperef.h" | 
|  | 11 #include "base/macros.h" | 
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" | 
| 13 | 13 | 
| 14 namespace base { | 14 namespace base { | 
| 15 class Thread; | 15 class Thread; | 
| 16 } | 16 } | 
| 17 | 17 | 
| 18 namespace net { | 18 namespace net { | 
| 19 | 19 | 
| 20 // Helper class for watching the Mac OS system network settings. | 20 // Helper class for watching the Mac OS system network settings. | 
| 21 class NetworkConfigWatcherMac { | 21 class NetworkConfigWatcherMac { | 
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 53   // to the registered observers without posting back to the thread the object | 53   // to the registered observers without posting back to the thread the object | 
| 54   // was created on. | 54   // was created on. | 
| 55   scoped_ptr<base::Thread> notifier_thread_; | 55   scoped_ptr<base::Thread> notifier_thread_; | 
| 56 | 56 | 
| 57   DISALLOW_COPY_AND_ASSIGN(NetworkConfigWatcherMac); | 57   DISALLOW_COPY_AND_ASSIGN(NetworkConfigWatcherMac); | 
| 58 }; | 58 }; | 
| 59 | 59 | 
| 60 }  // namespace net | 60 }  // namespace net | 
| 61 | 61 | 
| 62 #endif  // NET_BASE_NETWORK_CONFIG_WATCHER_MAC_H_ | 62 #endif  // NET_BASE_NETWORK_CONFIG_WATCHER_MAC_H_ | 
| OLD | NEW | 
|---|