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 "chrome/browser/android/chrome_feature_list.h" | 5 #include "chrome/browser/android/chrome_feature_list.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 | 10 |
9 #include "base/android/jni_string.h" | 11 #include "base/android/jni_string.h" |
10 #include "base/feature_list.h" | 12 #include "base/feature_list.h" |
| 13 #include "base/macros.h" |
11 #include "jni/ChromeFeatureList_jni.h" | 14 #include "jni/ChromeFeatureList_jni.h" |
12 | 15 |
13 using base::android::ConvertJavaStringToUTF8; | 16 using base::android::ConvertJavaStringToUTF8; |
14 | 17 |
15 namespace chrome { | 18 namespace chrome { |
16 namespace android { | 19 namespace android { |
17 | 20 |
18 namespace { | 21 namespace { |
19 | 22 |
20 const base::Feature kPhysicalWebFeature { | 23 const base::Feature kPhysicalWebFeature { |
(...skipping 21 matching lines...) Expand all Loading... |
42 NOTREACHED(); | 45 NOTREACHED(); |
43 return false; | 46 return false; |
44 } | 47 } |
45 | 48 |
46 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 49 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
47 return RegisterNativesImpl(env); | 50 return RegisterNativesImpl(env); |
48 } | 51 } |
49 | 52 |
50 } // namespace android | 53 } // namespace android |
51 } // namespace chrome | 54 } // namespace chrome |
OLD | NEW |