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

Side by Side Diff: components/policy/core/browser/android/android_combined_policy_provider.cc

Issue 2209993003: Add missing using statements for JNI types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/navigation_interception/navigation_params_android.cc ('k') | components/safe_json/json_sanitizer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698