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

Side by Side Diff: components/infobars/core/infobar_delegate.cc

Issue 1305233002: Delete obsolete auto_login_infobar_delegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 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
« no previous file with comments | « components/infobars/core/infobar_delegate.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/infobars/core/infobar_delegate.h" 5 #include "components/infobars/core/infobar_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "components/infobars/core/infobar.h" 9 #include "components/infobars/core/infobar.h"
10 #include "components/infobars/core/infobar_manager.h" 10 #include "components/infobars/core/infobar_manager.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // conditions doesn't dismiss infobars added while that navigation was 47 // conditions doesn't dismiss infobars added while that navigation was
48 // already in process. We carve out an exception for reloads since we 48 // already in process. We carve out an exception for reloads since we
49 // want reloads to dismiss infobars, but they will have unchanged entry 49 // want reloads to dismiss infobars, but they will have unchanged entry
50 // IDs. 50 // IDs.
51 ((nav_entry_id_ != details.entry_id) || details.is_reload); 51 ((nav_entry_id_ != details.entry_id) || details.is_reload);
52 } 52 }
53 53
54 void InfoBarDelegate::InfoBarDismissed() { 54 void InfoBarDelegate::InfoBarDismissed() {
55 } 55 }
56 56
57 AutoLoginInfoBarDelegate* InfoBarDelegate::AsAutoLoginInfoBarDelegate() {
58 return nullptr;
59 }
60
61 ConfirmInfoBarDelegate* InfoBarDelegate::AsConfirmInfoBarDelegate() { 57 ConfirmInfoBarDelegate* InfoBarDelegate::AsConfirmInfoBarDelegate() {
62 return nullptr; 58 return nullptr;
63 } 59 }
64 60
65 InsecureContentInfoBarDelegate* 61 InsecureContentInfoBarDelegate*
66 InfoBarDelegate::AsInsecureContentInfoBarDelegate() { 62 InfoBarDelegate::AsInsecureContentInfoBarDelegate() {
67 return nullptr; 63 return nullptr;
68 } 64 }
69 65
70 MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfoBarDelegate() { 66 MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfoBarDelegate() {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 100
105 translate::TranslateInfoBarDelegate* 101 translate::TranslateInfoBarDelegate*
106 InfoBarDelegate::AsTranslateInfoBarDelegate() { 102 InfoBarDelegate::AsTranslateInfoBarDelegate() {
107 return nullptr; 103 return nullptr;
108 } 104 }
109 105
110 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { 106 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) {
111 } 107 }
112 108
113 } // namespace infobars 109 } // namespace infobars
OLDNEW
« no previous file with comments | « components/infobars/core/infobar_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698