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

Side by Side Diff: net/cert/x509_util_android.cc

Issue 1475773002: Add context_utils.h includes where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « net/android/network_library.cc ('k') | net/proxy/proxy_config_service_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "net/cert/x509_util_android.h" 5 #include "net/cert/x509_util_android.h"
6 6
7 #include "base/android/build_info.h" 7 #include "base/android/build_info.h"
8 #include "base/android/jni_android.h" 8 #include "base/android/context_utils.h"
9 #include "base/metrics/histogram_macros.h" 9 #include "base/metrics/histogram_macros.h"
10 #include "jni/X509Util_jni.h" 10 #include "jni/X509Util_jni.h"
11 #include "net/cert/cert_database.h" 11 #include "net/cert/cert_database.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 void NotifyKeyChainChanged(JNIEnv* env, const JavaParamRef<jclass>& clazz) { 15 void NotifyKeyChainChanged(JNIEnv* env, const JavaParamRef<jclass>& clazz) {
16 CertDatabase::GetInstance()->OnAndroidKeyChainChanged(); 16 CertDatabase::GetInstance()->OnAndroidKeyChainChanged();
17 } 17 }
18 18
(...skipping 16 matching lines...) Expand all
35 // adopt the global-ref'ed jobject as a local ref as the constructor would. 35 // adopt the global-ref'ed jobject as a local ref as the constructor would.
36 r.Reset(env, base::android::GetApplicationContext()); 36 r.Reset(env, base::android::GetApplicationContext());
37 return r; 37 return r;
38 } 38 }
39 39
40 bool RegisterX509Util(JNIEnv* env) { 40 bool RegisterX509Util(JNIEnv* env) {
41 return RegisterNativesImpl(env); 41 return RegisterNativesImpl(env);
42 } 42 }
43 43
44 } // net namespace 44 } // net namespace
OLDNEW
« no previous file with comments | « net/android/network_library.cc ('k') | net/proxy/proxy_config_service_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698