diff options
Diffstat (limited to 'chromium/content/common/android/device_telephony_info.h')
-rw-r--r-- | chromium/content/common/android/device_telephony_info.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/chromium/content/common/android/device_telephony_info.h b/chromium/content/common/android/device_telephony_info.h deleted file mode 100644 index 84922d010ad..00000000000 --- a/chromium/content/common/android/device_telephony_info.h +++ /dev/null @@ -1,37 +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_TELEPHONY_INFO_H_ -#define CONTENT_COMMON_ANDROID_DEVICE_TELEPHONY_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 Telephony properties. -class DeviceTelephonyInfo { - public: - DeviceTelephonyInfo(); - ~DeviceTelephonyInfo(); - - // Returns the ISO country code equivalent of the current MCC. - std::string GetNetworkCountryIso(); - - // Registers methods with JNI and returns true if succeeded. - static bool RegisterDeviceTelephonyInfo(JNIEnv* env); - - private: - base::android::ScopedJavaGlobalRef<jobject> j_device_info_; - - DISALLOW_COPY_AND_ASSIGN(DeviceTelephonyInfo); -}; - -} // namespace content - -#endif // CONTENT_COMMON_ANDROID_DEVICE_TELEPHONY_INFO_H_ |