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

Unified Diff: chrome/browser/api/infobars/link_infobar_delegate.cc

Issue 11721003: Eliminate the LinkInfoBar[Delegate] classes entirely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address some nits - testing-automation matters? Created 7 years, 12 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/api/infobars/link_infobar_delegate.cc
diff --git a/chrome/browser/api/infobars/link_infobar_delegate.cc b/chrome/browser/api/infobars/link_infobar_delegate.cc
deleted file mode 100644
index e353bdcf1ecfc901e1a7dee6c3e12c1cd5062f93..0000000000000000000000000000000000000000
--- a/chrome/browser/api/infobars/link_infobar_delegate.cc
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) 2011 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.
-
-#include "chrome/browser/api/infobars/link_infobar_delegate.h"
-
-bool LinkInfoBarDelegate::LinkClicked(WindowOpenDisposition disposition) {
- return true;
-}
-
-LinkInfoBarDelegate::LinkInfoBarDelegate(InfoBarService* infobar_service)
- : InfoBarDelegate(infobar_service) {
-}
-
-LinkInfoBarDelegate::~LinkInfoBarDelegate() {
-}
-
-LinkInfoBarDelegate* LinkInfoBarDelegate::AsLinkInfoBarDelegate() {
- return this;
-}
« no previous file with comments | « chrome/browser/api/infobars/link_infobar_delegate.h ('k') | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698