Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Side by Side Diff: net/base/network_change_notifier_linux.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_LINUX_H_ 5 #ifndef NET_BASE_NETWORK_CHANGE_NOTIFIER_LINUX_H_
6 #define NET_BASE_NETWORK_CHANGE_NOTIFIER_LINUX_H_ 6 #define NET_BASE_NETWORK_CHANGE_NOTIFIER_LINUX_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 10 matching lines...) Expand all
21 private: 21 private:
22 class Thread; 22 class Thread;
23 23
24 NetworkChangeNotifierLinux(); 24 NetworkChangeNotifierLinux();
25 virtual ~NetworkChangeNotifierLinux(); 25 virtual ~NetworkChangeNotifierLinux();
26 static NetworkChangeCalculatorParams NetworkChangeCalculatorParamsLinux(); 26 static NetworkChangeCalculatorParams NetworkChangeCalculatorParamsLinux();
27 27
28 // NetworkChangeNotifier: 28 // NetworkChangeNotifier:
29 virtual ConnectionType GetCurrentConnectionType() const OVERRIDE; 29 virtual ConnectionType GetCurrentConnectionType() const OVERRIDE;
30 30
31 virtual const internal::AddressTrackerLinux* 31 virtual const internal::AddressTrackerLinux* GetAddressTrackerInternal()
32 GetAddressTrackerInternal() const OVERRIDE; 32 const OVERRIDE;
33 33
34 // The thread used to listen for notifications. This relays the notification 34 // The thread used to listen for notifications. This relays the notification
35 // to the registered observers without posting back to the thread the object 35 // to the registered observers without posting back to the thread the object
36 // was created on. 36 // was created on.
37 // Also used for DnsConfigService which requires TYPE_IO message loop. 37 // Also used for DnsConfigService which requires TYPE_IO message loop.
38 scoped_ptr<Thread> notifier_thread_; 38 scoped_ptr<Thread> notifier_thread_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierLinux); 40 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierLinux);
41 }; 41 };
42 42
43 } // namespace net 43 } // namespace net
44 44
45 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_LINUX_H_ 45 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_LINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698