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

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

Issue 499163002: Use qualified path for grit/ui_strings.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/DEPS ('k') | content/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/confirm_infobar_delegate.h" 5 #include "components/infobars/core/confirm_infobar_delegate.h"
6 6
7 #include "grit/ui_strings.h"
8 #include "ui/base/l10n/l10n_util.h" 7 #include "ui/base/l10n/l10n_util.h"
8 #include "ui/strings/grit/ui_strings.h"
9 9
10 using infobars::InfoBarDelegate; 10 using infobars::InfoBarDelegate;
11 11
12 ConfirmInfoBarDelegate::~ConfirmInfoBarDelegate() { 12 ConfirmInfoBarDelegate::~ConfirmInfoBarDelegate() {
13 } 13 }
14 14
15 InfoBarDelegate::InfoBarAutomationType 15 InfoBarDelegate::InfoBarAutomationType
16 ConfirmInfoBarDelegate::GetInfoBarAutomationType() const { 16 ConfirmInfoBarDelegate::GetInfoBarAutomationType() const {
17 return CONFIRM_INFOBAR; 17 return CONFIRM_INFOBAR;
18 } 18 }
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 bool ConfirmInfoBarDelegate::EqualsDelegate(InfoBarDelegate* delegate) const { 63 bool ConfirmInfoBarDelegate::EqualsDelegate(InfoBarDelegate* delegate) const {
64 ConfirmInfoBarDelegate* confirm_delegate = 64 ConfirmInfoBarDelegate* confirm_delegate =
65 delegate->AsConfirmInfoBarDelegate(); 65 delegate->AsConfirmInfoBarDelegate();
66 return confirm_delegate && 66 return confirm_delegate &&
67 (confirm_delegate->GetMessageText() == GetMessageText()); 67 (confirm_delegate->GetMessageText() == GetMessageText());
68 } 68 }
69 69
70 ConfirmInfoBarDelegate* ConfirmInfoBarDelegate::AsConfirmInfoBarDelegate() { 70 ConfirmInfoBarDelegate* ConfirmInfoBarDelegate::AsConfirmInfoBarDelegate() {
71 return this; 71 return this;
72 } 72 }
OLDNEW
« no previous file with comments | « components/infobars/DEPS ('k') | content/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698