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

Unified Diff: net/android/network_change_notifier.h

Issue 10384025: fix duplicated basename network_change_notifier.cc in net target (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/android/net_jni_registrar.cc ('k') | net/android/network_change_notifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/android/network_change_notifier.h
diff --git a/net/android/network_change_notifier.h b/net/android/network_change_notifier.h
deleted file mode 100644
index 5691a00e6c21f8014f45e7440ecfd2c1f0579a9b..0000000000000000000000000000000000000000
--- a/net/android/network_change_notifier.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// 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_ANDROID_H_
-#define NET_ANDROID_NETWORK_CHANGE_NOTIFIER_ANDROID_H_
-#pragma once
-
-#include "base/android/scoped_java_ref.h"
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
-#include "net/base/network_change_notifier.h"
-
-namespace net {
-namespace android {
-
-class NetworkChangeNotifier : public net::NetworkChangeNotifier {
- public:
- NetworkChangeNotifier();
- virtual ~NetworkChangeNotifier();
-
- void NotifyObservers(JNIEnv* env, jobject obj);
-
- static bool Register(JNIEnv* env);
-
- private:
- void CreateJavaObject(JNIEnv* env);
-
- // NetworkChangeNotifier:
- virtual bool IsCurrentlyOffline() const OVERRIDE;
-
- base::android::ScopedJavaGlobalRef<jobject> java_network_change_notifier_;
-
- DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifier);
-};
-
-} // namespace android
-} // namespace net
-
-#endif // NET_ANDROID_NETWORK_CHANGE_NOTIFIER_ANDROID_H_
« no previous file with comments | « net/android/net_jni_registrar.cc ('k') | net/android/network_change_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698