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

Side by Side Diff: chrome/browser/android/feature_utilities.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/feature_utilities.h" 5 #include "chrome/browser/android/feature_utilities.h"
6 6
7 #include "jni/FeatureUtilities_jni.h" 7 #include "jni/FeatureUtilities_jni.h"
8 8
9 using base::android::JavaParamRef;
10
9 namespace { 11 namespace {
10 bool document_mode_enabled = false; 12 bool document_mode_enabled = false;
11 bool custom_tab_visible = false; 13 bool custom_tab_visible = false;
12 bool is_in_multi_window_mode = false; 14 bool is_in_multi_window_mode = false;
13 } // namespace 15 } // namespace
14 16
15 namespace chrome { 17 namespace chrome {
16 namespace android { 18 namespace android {
17 19
18 RunningModeHistogram GetDocumentModeValue() { 20 RunningModeHistogram GetDocumentModeValue() {
(...skipping 27 matching lines...) Expand all
46 48
47 static void SetIsInMultiWindowMode(JNIEnv* env, 49 static void SetIsInMultiWindowMode(JNIEnv* env,
48 const JavaParamRef<jclass>& clazz, 50 const JavaParamRef<jclass>& clazz,
49 jboolean j_is_in_multi_window_mode) { 51 jboolean j_is_in_multi_window_mode) {
50 is_in_multi_window_mode = j_is_in_multi_window_mode; 52 is_in_multi_window_mode = j_is_in_multi_window_mode;
51 } 53 }
52 54
53 bool RegisterFeatureUtilities(JNIEnv* env) { 55 bool RegisterFeatureUtilities(JNIEnv* env) {
54 return RegisterNativesImpl(env); 56 return RegisterNativesImpl(env);
55 } 57 }
OLDNEW
« no previous file with comments | « chrome/browser/android/favicon_helper.cc ('k') | chrome/browser/android/feedback/connectivity_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698