| Index: ui/gfx/android/device_info.cc
|
| diff --git a/content/common/android/device_info.cc b/ui/gfx/android/device_info.cc
|
| similarity index 93%
|
| rename from content/common/android/device_info.cc
|
| rename to ui/gfx/android/device_info.cc
|
| index 2522cae160aa0b60925ba4c9e5cace2519502182..f28fcf347ef681fdd2a6f083f820dbc0939c1405 100644
|
| --- a/content/common/android/device_info.cc
|
| +++ b/ui/gfx/android/device_info.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "content/common/android/device_info.h"
|
| +#include "ui/gfx/android/device_info.h"
|
|
|
| #include "base/android/jni_android.h"
|
| #include "base/android/jni_string.h"
|
| @@ -13,7 +13,7 @@ using base::android::AttachCurrentThread;
|
| using base::android::ConvertJavaStringToUTF8;
|
| using base::android::ScopedJavaLocalRef;
|
|
|
| -namespace content {
|
| +namespace gfx {
|
|
|
| DeviceInfo::DeviceInfo() {
|
| JNIEnv* env = AttachCurrentThread();
|
| @@ -73,8 +73,9 @@ std::string DeviceInfo::GetNetworkCountryIso() {
|
| return ConvertJavaStringToUTF8(result);
|
| }
|
|
|
| -bool RegisterDeviceInfo(JNIEnv* env) {
|
| +// static
|
| +bool DeviceInfo::RegisterDeviceInfo(JNIEnv* env) {
|
| return RegisterNativesImpl(env);
|
| }
|
|
|
| -} // namespace content
|
| +} // namespace gfx
|
|
|