From f9b2160d75ad5e1f317e977042ef85cd6869af54 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Thu, 22 May 2014 00:53:12 +0000 Subject: infobars: Componentize ConfirmInfoBarDelegate. Changes: 1- Change it to use ui_strings.h 2- Use IDS_APP_OK and IDS_APP_CANCEL from ui_strings. 3- Move to components/infobars/core from chrome/browser/infobars (done with tools/git/move_source_file.py). BUG=373234 TEST=chrome still links and run fine. R=droger@chromium.org, pkasting@chromium.org TBR=ben # for trivial chrome/ changes Review URL: https://codereview.chromium.org/289083004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272036 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/download/download_browsertest.cc | 2 +- chrome/browser/download/download_request_infobar_delegate.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/download') diff --git a/chrome/browser/download/download_browsertest.cc b/chrome/browser/download/download_browsertest.cc index 523eef8..380306a 100644 --- a/chrome/browser/download/download_browsertest.cc +++ b/chrome/browser/download/download_browsertest.cc @@ -42,7 +42,6 @@ #include "chrome/browser/history/download_row.h" #include "chrome/browser/history/history_service.h" #include "chrome/browser/history/history_service_factory.h" -#include "chrome/browser/infobars/confirm_infobar_delegate.h" #include "chrome/browser/infobars/infobar_service.h" #include "chrome/browser/net/url_request_mock_util.h" #include "chrome/browser/profiles/profile.h" @@ -62,6 +61,7 @@ #include "chrome/test/base/in_process_browser_test.h" #include "chrome/test/base/test_switches.h" #include "chrome/test/base/ui_test_utils.h" +#include "components/infobars/core/confirm_infobar_delegate.h" #include "components/infobars/core/infobar.h" #include "content/public/browser/download_interrupt_reasons.h" #include "content/public/browser/download_item.h" diff --git a/chrome/browser/download/download_request_infobar_delegate.h b/chrome/browser/download/download_request_infobar_delegate.h index f0563c1..100e4b2 100644 --- a/chrome/browser/download/download_request_infobar_delegate.h +++ b/chrome/browser/download/download_request_infobar_delegate.h @@ -8,7 +8,7 @@ #include "base/basictypes.h" #include "base/memory/weak_ptr.h" #include "chrome/browser/download/download_request_limiter.h" -#include "chrome/browser/infobars/confirm_infobar_delegate.h" +#include "components/infobars/core/confirm_infobar_delegate.h" class InfoBarService; -- cgit v1.1