| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/policy/core/browser/android/android_combined_policy_provide
r.h" | 5 #include "components/policy/core/browser/android/android_combined_policy_provide
r.h" |
| 6 | 6 |
| 7 #include "base/android/jni_android.h" | 7 #include "base/android/jni_android.h" |
| 8 #include "base/android/jni_string.h" | 8 #include "base/android/jni_string.h" |
| 9 #include "components/policy/core/browser/android/policy_converter.h" | 9 #include "components/policy/core/browser/android/policy_converter.h" |
| 10 #include "jni/CombinedPolicyProvider_jni.h" | 10 #include "jni/CombinedPolicyProvider_jni.h" |
| 11 | 11 |
| 12 using base::android::AttachCurrentThread; | 12 using base::android::AttachCurrentThread; |
| 13 using base::android::JavaParamRef; |
| 13 | 14 |
| 14 namespace { | 15 namespace { |
| 15 | 16 |
| 16 bool g_wait_for_policies = false; | 17 bool g_wait_for_policies = false; |
| 17 | 18 |
| 18 } // namespace | 19 } // namespace |
| 19 | 20 |
| 20 namespace policy { | 21 namespace policy { |
| 21 namespace android { | 22 namespace android { |
| 22 | 23 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 PolicyDomain domain) const { | 60 PolicyDomain domain) const { |
| 60 return initialized_; | 61 return initialized_; |
| 61 } | 62 } |
| 62 | 63 |
| 63 bool AndroidCombinedPolicyProvider::Register(JNIEnv* env) { | 64 bool AndroidCombinedPolicyProvider::Register(JNIEnv* env) { |
| 64 return RegisterNativesImpl(env); | 65 return RegisterNativesImpl(env); |
| 65 } | 66 } |
| 66 | 67 |
| 67 } // namespace android | 68 } // namespace android |
| 68 } // namespace policy | 69 } // namespace policy |
| OLD | NEW |