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

Side by Side Diff: chrome/browser/android/banners/app_banner_infobar_delegate_android.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/banners/app_banner_infobar_delegate_android.h" 5 #include "chrome/browser/android/banners/app_banner_infobar_delegate_android.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 "base/guid.h" 9 #include "base/guid.h"
10 #include "base/location.h" 10 #include "base/location.h"
(...skipping 16 matching lines...) Expand all
27 #include "content/public/browser/web_contents.h" 27 #include "content/public/browser/web_contents.h"
28 #include "content/public/common/manifest.h" 28 #include "content/public/common/manifest.h"
29 #include "jni/AppBannerInfoBarDelegateAndroid_jni.h" 29 #include "jni/AppBannerInfoBarDelegateAndroid_jni.h"
30 #include "ui/gfx/android/java_bitmap.h" 30 #include "ui/gfx/android/java_bitmap.h"
31 #include "url/gurl.h" 31 #include "url/gurl.h"
32 32
33 using base::android::ConvertJavaStringToUTF8; 33 using base::android::ConvertJavaStringToUTF8;
34 using base::android::ConvertJavaStringToUTF16; 34 using base::android::ConvertJavaStringToUTF16;
35 using base::android::ConvertUTF8ToJavaString; 35 using base::android::ConvertUTF8ToJavaString;
36 using base::android::ConvertUTF16ToJavaString; 36 using base::android::ConvertUTF16ToJavaString;
37 using base::android::JavaParamRef;
38 using base::android::ScopedJavaLocalRef;
37 39
38 namespace banners { 40 namespace banners {
39 41
40 AppBannerInfoBarDelegateAndroid::AppBannerInfoBarDelegateAndroid( 42 AppBannerInfoBarDelegateAndroid::AppBannerInfoBarDelegateAndroid(
41 int event_request_id, 43 int event_request_id,
42 scoped_refptr<AppBannerDataFetcherAndroid> data_fetcher, 44 scoped_refptr<AppBannerDataFetcherAndroid> data_fetcher,
43 const base::string16& app_title, 45 const base::string16& app_title,
44 const GURL& app_icon_url, 46 const GURL& app_icon_url,
45 SkBitmap* app_icon, 47 SkBitmap* app_icon,
46 const GURL& manifest_url, 48 const GURL& manifest_url,
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 297
296 TrackDismissEvent(DISMISS_EVENT_BANNER_CLICK); 298 TrackDismissEvent(DISMISS_EVENT_BANNER_CLICK);
297 return true; 299 return true;
298 } 300 }
299 301
300 bool RegisterAppBannerInfoBarDelegateAndroid(JNIEnv* env) { 302 bool RegisterAppBannerInfoBarDelegateAndroid(JNIEnv* env) {
301 return RegisterNativesImpl(env); 303 return RegisterNativesImpl(env);
302 } 304 }
303 305
304 } // namespace banners 306 } // namespace banners
OLDNEW
« no previous file with comments | « chrome/browser/android/appmenu/app_menu_drag_helper.cc ('k') | chrome/browser/android/banners/app_banner_manager_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698