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

Side by Side Diff: third_party/WebKit/Source/platform/network/NetworkStateNotifier.h

Issue 2799593002: Rewrite references to "wtf/" to "platform/wtf/" in platform/network. (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 12 matching lines...) Expand all
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef NetworkStateNotifier_h 26 #ifndef NetworkStateNotifier_h
27 #define NetworkStateNotifier_h 27 #define NetworkStateNotifier_h
28 28
29 #include <memory> 29 #include <memory>
30 #include "platform/CrossThreadCopier.h" 30 #include "platform/CrossThreadCopier.h"
31 #include "platform/PlatformExport.h" 31 #include "platform/PlatformExport.h"
32 #include "platform/WebTaskRunner.h" 32 #include "platform/WebTaskRunner.h"
33 #include "platform/wtf/Allocator.h"
34 #include "platform/wtf/HashMap.h"
35 #include "platform/wtf/Noncopyable.h"
36 #include "platform/wtf/ThreadingPrimitives.h"
37 #include "platform/wtf/Vector.h"
33 #include "public/platform/WebConnectionType.h" 38 #include "public/platform/WebConnectionType.h"
34 #include "wtf/Allocator.h"
35 #include "wtf/HashMap.h"
36 #include "wtf/Noncopyable.h"
37 #include "wtf/ThreadingPrimitives.h"
38 #include "wtf/Vector.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 class PLATFORM_EXPORT NetworkStateNotifier { 42 class PLATFORM_EXPORT NetworkStateNotifier {
43 WTF_MAKE_NONCOPYABLE(NetworkStateNotifier); 43 WTF_MAKE_NONCOPYABLE(NetworkStateNotifier);
44 USING_FAST_MALLOC(NetworkStateNotifier); 44 USING_FAST_MALLOC(NetworkStateNotifier);
45 45
46 public: 46 public:
47 struct NetworkState { 47 struct NetworkState {
48 static const int kInvalidMaxBandwidth = -1; 48 static const int kInvalidMaxBandwidth = -1;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 192
193 ObserverListMap m_connectionObservers; 193 ObserverListMap m_connectionObservers;
194 ObserverListMap m_onLineStateObservers; 194 ObserverListMap m_onLineStateObservers;
195 }; 195 };
196 196
197 PLATFORM_EXPORT NetworkStateNotifier& networkStateNotifier(); 197 PLATFORM_EXPORT NetworkStateNotifier& networkStateNotifier();
198 198
199 } // namespace blink 199 } // namespace blink
200 200
201 #endif // NetworkStateNotifier_h 201 #endif // NetworkStateNotifier_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698