Index: content/common/android/device_info.h |
diff --git a/content/common/android/device_info.h b/content/common/android/device_info.h |
deleted file mode 100644 |
index 017961f21bc009e2424ec248035ae77a136d7a0a..0000000000000000000000000000000000000000 |
--- a/content/common/android/device_info.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 CONTENT_COMMON_ANDROID_DEVICE_INFO_H_ |
-#define CONTENT_COMMON_ANDROID_DEVICE_INFO_H_ |
- |
-#include <jni.h> |
-#include <string> |
- |
-#include "base/android/scoped_java_ref.h" |
-#include "base/basictypes.h" |
- |
-namespace content { |
- |
-// Facilitates access to device information typically only |
-// available using the Android SDK, including Display properties. |
-class DeviceInfo { |
- public: |
- DeviceInfo(); |
- ~DeviceInfo(); |
- |
- int GetHeight(); |
- int GetWidth(); |
- int GetBitsPerPixel(); |
- int GetBitsPerComponent(); |
- double GetDPIScale(); |
- double GetRefreshRate(); |
- std::string GetNetworkCountryIso(); |
- |
- private: |
- base::android::ScopedJavaGlobalRef<jobject> j_device_info_; |
- |
- DISALLOW_COPY_AND_ASSIGN(DeviceInfo); |
-}; |
- |
-bool RegisterDeviceInfo(JNIEnv* env); |
- |
-} // namespace content |
- |
-#endif // CONTENT_COMMON_ANDROID_DEVICE_INFO_H_ |