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

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

Issue 18054009: Use a direct include of time headers in net/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
« no previous file with comments | « net/base/network_change_notifier.h ('k') | net/base/network_change_notifier_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_WIN_H_ 5 #ifndef NET_BASE_NETWORK_CHANGE_NOTIFIER_WIN_H_
6 #define NET_BASE_NETWORK_CHANGE_NOTIFIER_WIN_H_ 6 #define NET_BASE_NETWORK_CHANGE_NOTIFIER_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/threading/non_thread_safe.h" 14 #include "base/threading/non_thread_safe.h"
15 #include "base/timer.h" 15 #include "base/timer/timer.h"
16 #include "base/win/object_watcher.h" 16 #include "base/win/object_watcher.h"
17 #include "net/base/net_export.h" 17 #include "net/base/net_export.h"
18 #include "net/base/network_change_notifier.h" 18 #include "net/base/network_change_notifier.h"
19 19
20 namespace net { 20 namespace net {
21 21
22 // NetworkChangeNotifierWin inherits from NonThreadSafe, as all its internal 22 // NetworkChangeNotifierWin inherits from NonThreadSafe, as all its internal
23 // notification code must be called on the thread it is created and destroyed 23 // notification code must be called on the thread it is created and destroyed
24 // on. All the NetworkChangeNotifier methods it implements are threadsafe. 24 // on. All the NetworkChangeNotifier methods it implements are threadsafe.
25 class NET_EXPORT_PRIVATE NetworkChangeNotifierWin 25 class NET_EXPORT_PRIVATE NetworkChangeNotifierWin
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 bool last_announced_offline_; 100 bool last_announced_offline_;
101 // Number of times polled to check if still offline. 101 // Number of times polled to check if still offline.
102 int offline_polls_; 102 int offline_polls_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierWin); 104 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierWin);
105 }; 105 };
106 106
107 } // namespace net 107 } // namespace net
108 108
109 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_WIN_H_ 109 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_WIN_H_
OLDNEW
« no previous file with comments | « net/base/network_change_notifier.h ('k') | net/base/network_change_notifier_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698