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

Unified Diff: chrome/browser/android/fullscreen/fullscreen_infobar_delegate.h

Issue 1340693002: Speculative hardening of fullscreen infobar code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2490
Patch Set: Created 5 years, 3 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/android/fullscreen/fullscreen_infobar_delegate.h
diff --git a/chrome/browser/android/fullscreen/fullscreen_infobar_delegate.h b/chrome/browser/android/fullscreen/fullscreen_infobar_delegate.h
index 0ec29687155294f1c48d2452f72e7c79afb87f62..4373041b7eec556195213c4abeabbbb87db2c1a7 100644
--- a/chrome/browser/android/fullscreen/fullscreen_infobar_delegate.h
+++ b/chrome/browser/android/fullscreen/fullscreen_infobar_delegate.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_ANDROID_FULLSCREEN_INFOBAR_DELEGATE_H_
-#define CHROME_BROWSER_ANDROID_FULLSCREEN_INFOBAR_DELEGATE_H_
+#ifndef CHROME_BROWSER_ANDROID_FULLSCREEN_FULLSCREEN_INFOBAR_DELEGATE_H_
+#define CHROME_BROWSER_ANDROID_FULLSCREEN_FULLSCREEN_INFOBAR_DELEGATE_H_
#include <string>
@@ -24,7 +24,7 @@ class FullscreenInfoBarDelegate : public ConfirmInfoBarDelegate {
~FullscreenInfoBarDelegate() override;
// Called to close the infobar.
- void CloseFullscreenInfoBar(JNIEnv* env, jobject obj, jobject tab);
+ void CloseFullscreenInfoBar(JNIEnv* env, jobject obj);
// ConfirmInfoBarDelegate:
int GetIconID() const override;
@@ -40,4 +40,4 @@ class FullscreenInfoBarDelegate : public ConfirmInfoBarDelegate {
DISALLOW_COPY_AND_ASSIGN(FullscreenInfoBarDelegate);
};
-#endif // CHROME_BROWSER_ANDROID_FULLSCREEN_INFOBAR_DELEGATE_H_
+#endif // CHROME_BROWSER_ANDROID_FULLSCREEN_FULLSCREEN_INFOBAR_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698