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

Side by Side Diff: chrome/browser/download/download_request_infobar_delegate.cc

Issue 10756018: Merge grd files in ui/resources and chrome/app/theme (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, *_standard.rc Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/cookies_tree_model.cc ('k') | chrome/browser/download/download_util.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/browser/download/download_request_infobar_delegate.h" 5 #include "chrome/browser/download/download_request_infobar_delegate.h"
6 6
7 #include "grit/generated_resources.h" 7 #include "grit/generated_resources.h"
8 #include "grit/theme_resources_standard.h" 8 #include "grit/theme_resources.h"
9 #include "ui/base/l10n/l10n_util.h" 9 #include "ui/base/l10n/l10n_util.h"
10 #include "ui/base/resource/resource_bundle.h" 10 #include "ui/base/resource/resource_bundle.h"
11 11
12 DownloadRequestInfoBarDelegate::DownloadRequestInfoBarDelegate( 12 DownloadRequestInfoBarDelegate::DownloadRequestInfoBarDelegate(
13 InfoBarTabHelper* infobar_helper, 13 InfoBarTabHelper* infobar_helper,
14 DownloadRequestLimiter::TabDownloadState* host) 14 DownloadRequestLimiter::TabDownloadState* host)
15 : ConfirmInfoBarDelegate(infobar_helper), 15 : ConfirmInfoBarDelegate(infobar_helper),
16 host_(host) { 16 host_(host) {
17 } 17 }
18 18
(...skipping 18 matching lines...) Expand all
37 } 37 }
38 38
39 bool DownloadRequestInfoBarDelegate::Accept() { 39 bool DownloadRequestInfoBarDelegate::Accept() {
40 if (host_) { 40 if (host_) {
41 // Accept() call will nullify host_ if no further prompts are required. 41 // Accept() call will nullify host_ if no further prompts are required.
42 host_->Accept(); 42 host_->Accept();
43 } 43 }
44 44
45 return !host_; 45 return !host_;
46 } 46 }
OLDNEW
« no previous file with comments | « chrome/browser/cookies_tree_model.cc ('k') | chrome/browser/download/download_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698