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

Unified Diff: chrome/browser/ui/android/infobars/simple_confirm_infobar_builder.h

Issue 1596713003: Discourage creation of Java infobars without InfoBarDelegates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/android/infobars/simple_confirm_infobar_builder.h
diff --git a/chrome/browser/ui/android/infobars/simple_confirm_infobar_builder.h b/chrome/browser/ui/android/infobars/simple_confirm_infobar_builder.h
new file mode 100644
index 0000000000000000000000000000000000000000..f001a5c6223208f6eb11d29175fa13bfb014e056
--- /dev/null
+++ b/chrome/browser/ui/android/infobars/simple_confirm_infobar_builder.h
@@ -0,0 +1,13 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_SIMPLE_CONFIRM_INFOBAR_BUILDER_H_
+#define CHROME_BROWSER_UI_ANDROID_INFOBARS_SIMPLE_CONFIRM_INFOBAR_BUILDER_H_
+
+#include "base/android/jni_android.h"
+
+// Registers native methods.
+bool RegisterSimpleConfirmInfoBarBuilder(JNIEnv* env);
+
+#endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_SIMPLE_CONFIRM_INFOBAR_BUILDER_H_

Powered by Google App Engine
This is Rietveld 408576698