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

Unified Diff: net/android/network_change_notifier_factory_android.h

Issue 10928193: Add native-side unit test for Android NetworkChangeNotifier (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebasing Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: net/android/network_change_notifier_factory_android.h
diff --git a/net/android/network_change_notifier_factory.h b/net/android/network_change_notifier_factory_android.h
similarity index 56%
rename from net/android/network_change_notifier_factory.h
rename to net/android/network_change_notifier_factory_android.h
index 0131b9e8142054be836e15eee50c9ef97939df9f..3f5f0b68f2a30623fb012e26fddf03f7338d9481 100644
--- a/net/android/network_change_notifier_factory.h
+++ b/net/android/network_change_notifier_factory_android.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_H_
-#define NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_H_
+#ifndef NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_ANDROID_H_
+#define NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_ANDROID_H_
#include "base/compiler_specific.h"
#include "net/base/network_change_notifier_factory.h"
@@ -12,19 +12,17 @@ namespace net {
class NetworkChangeNotifier;
-namespace android {
-
// NetworkChangeNotifierFactory creates Android-specific specialization of
// NetworkChangeNotifier.
-class NetworkChangeNotifierFactory : public net::NetworkChangeNotifierFactory {
+class NetworkChangeNotifierFactoryAndroid :
+ public NetworkChangeNotifierFactory {
public:
- NetworkChangeNotifierFactory();
+ NetworkChangeNotifierFactoryAndroid();
- // Overrides of net::NetworkChangeNotifierFactory.
- virtual net::NetworkChangeNotifier* CreateInstance() OVERRIDE;
+ // Overrides of NetworkChangeNotifierFactory.
+ virtual NetworkChangeNotifier* CreateInstance() OVERRIDE;
};
-} // namespace android
} // namespace net
#endif // NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_H_
« no previous file with comments | « net/android/network_change_notifier_factory.cc ('k') | net/android/network_change_notifier_factory_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698