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

Side by Side Diff: chrome/browser/ui/android/infobars/infobar_android.h

Issue 247263009: Rename jni_helper.h to jni_weak_ref.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
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 #ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_ANDROID_H_ 5 #ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_ANDROID_H_
6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_ANDROID_H_ 6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_ANDROID_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/android/jni_helper.h" 10 #include "base/android/jni_weak_ref.h"
11 #include "base/android/scoped_java_ref.h" 11 #include "base/android/scoped_java_ref.h"
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "components/infobars/core/infobar.h" 14 #include "components/infobars/core/infobar.h"
15 15
16 class InfoBarService; 16 class InfoBarService;
17 17
18 namespace infobars { 18 namespace infobars {
19 class InfoBarDelegate; 19 class InfoBarDelegate;
20 } 20 }
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 private: 75 private:
76 base::android::ScopedJavaGlobalRef<jobject> java_info_bar_; 76 base::android::ScopedJavaGlobalRef<jobject> java_info_bar_;
77 77
78 DISALLOW_COPY_AND_ASSIGN(InfoBarAndroid); 78 DISALLOW_COPY_AND_ASSIGN(InfoBarAndroid);
79 }; 79 };
80 80
81 // Registers the NativeInfoBar's native methods through JNI. 81 // Registers the NativeInfoBar's native methods through JNI.
82 bool RegisterNativeInfoBar(JNIEnv* env); 82 bool RegisterNativeInfoBar(JNIEnv* env);
83 83
84 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_ANDROID_H_ 84 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698