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

Side by Side Diff: net/android/network_change_notifier_factory_android.h

Issue 897423002: Update {virtual,override,final} to follow C++11 style in net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 // 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_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_ANDROID_H_ 5 #ifndef NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_ANDROID_H_
6 #define NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_ANDROID_H_ 6 #define NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_ANDROID_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 "net/android/network_change_notifier_delegate_android.h" 10 #include "net/android/network_change_notifier_delegate_android.h"
11 #include "net/base/net_export.h" 11 #include "net/base/net_export.h"
12 #include "net/base/network_change_notifier_factory.h" 12 #include "net/base/network_change_notifier_factory.h"
13 13
14 namespace net { 14 namespace net {
15 15
16 class NetworkChangeNotifier; 16 class NetworkChangeNotifier;
17 class NetworkChangeNotifierDelegateAndroid; 17 class NetworkChangeNotifierDelegateAndroid;
18 18
19 // NetworkChangeNotifierFactory creates Android-specific specialization of 19 // NetworkChangeNotifierFactory creates Android-specific specialization of
20 // NetworkChangeNotifier. See network_change_notifier_android.h for more 20 // NetworkChangeNotifier. See network_change_notifier_android.h for more
21 // details. 21 // details.
22 class NET_EXPORT NetworkChangeNotifierFactoryAndroid : 22 class NET_EXPORT NetworkChangeNotifierFactoryAndroid :
23 public NetworkChangeNotifierFactory { 23 public NetworkChangeNotifierFactory {
24 public: 24 public:
25 // Must be called on the JNI thread. 25 // Must be called on the JNI thread.
26 NetworkChangeNotifierFactoryAndroid(); 26 NetworkChangeNotifierFactoryAndroid();
27 27
28 // Must be called on the JNI thread. 28 // Must be called on the JNI thread.
29 virtual ~NetworkChangeNotifierFactoryAndroid(); 29 ~NetworkChangeNotifierFactoryAndroid() override;
30 30
31 // NetworkChangeNotifierFactory: 31 // NetworkChangeNotifierFactory:
32 virtual NetworkChangeNotifier* CreateInstance() override; 32 NetworkChangeNotifier* CreateInstance() override;
33 33
34 private: 34 private:
35 // Delegate passed to the instances created by this class. 35 // Delegate passed to the instances created by this class.
36 NetworkChangeNotifierDelegateAndroid delegate_; 36 NetworkChangeNotifierDelegateAndroid delegate_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierFactoryAndroid); 38 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierFactoryAndroid);
39 }; 39 };
40 40
41 } // namespace net 41 } // namespace net
42 42
43 #endif // NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_H_ 43 #endif // NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_H_
OLDNEW
« no previous file with comments | « net/android/network_change_notifier_android_unittest.cc ('k') | net/cert/cert_verify_proc_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698