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

Side by Side Diff: chrome/browser/android/chrome_feature_list.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 "chrome/browser/android/chrome_feature_list.h" 5 #include "chrome/browser/android/chrome_feature_list.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/android/jni_string.h" 11 #include "base/android/jni_string.h"
12 #include "base/feature_list.h" 12 #include "base/feature_list.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "chrome/common/chrome_features.h" 14 #include "chrome/common/chrome_features.h"
15 #include "components/offline_pages/offline_page_feature.h" 15 #include "components/offline_pages/offline_page_feature.h"
16 #include "components/password_manager/core/common/password_manager_features.h" 16 #include "components/password_manager/core/common/password_manager_features.h"
17 #include "content/public/common/content_features.h" 17 #include "content/public/common/content_features.h"
18 #include "jni/ChromeFeatureList_jni.h" 18 #include "jni/ChromeFeatureList_jni.h"
19 19
20 using base::android::ConvertJavaStringToUTF8; 20 using base::android::ConvertJavaStringToUTF8;
21 using base::android::JavaParamRef;
21 22
22 namespace chrome { 23 namespace chrome {
23 namespace android { 24 namespace android {
24 25
25 namespace { 26 namespace {
26 27
27 // Array of features exposed through the Java ChromeFeatureList API. Entries in 28 // Array of features exposed through the Java ChromeFeatureList API. Entries in
28 // this array may either refer to features defined in the header of this file or 29 // this array may either refer to features defined in the header of this file or
29 // in other locations in the code base (e.g. chrome/, components/, etc). 30 // in other locations in the code base (e.g. chrome/, components/, etc).
30 const base::Feature* kFeaturesExposedToJava[] = { 31 const base::Feature* kFeaturesExposedToJava[] = {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 NOTREACHED(); 110 NOTREACHED();
110 return false; 111 return false;
111 } 112 }
112 113
113 bool RegisterChromeFeatureListJni(JNIEnv* env) { 114 bool RegisterChromeFeatureListJni(JNIEnv* env) {
114 return RegisterNativesImpl(env); 115 return RegisterNativesImpl(env);
115 } 116 }
116 117
117 } // namespace android 118 } // namespace android
118 } // namespace chrome 119 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_application.cc ('k') | chrome/browser/android/compositor/compositor_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698