diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-29 22:22:03 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-29 22:22:03 +0000 |
commit | 52877dbc6c22a02dc7d1dd6f22de2c2b3e7eac17 (patch) | |
tree | f39b0d32959778625fdeb00f178061a6411213c3 /chrome/browser/importer | |
parent | 78ce87fbedda14f033aaaf474b94c4966e8bf3d0 (diff) | |
download | chromium_src-52877dbc6c22a02dc7d1dd6f22de2c2b3e7eac17.zip chromium_src-52877dbc6c22a02dc7d1dd6f22de2c2b3e7eac17.tar.gz chromium_src-52877dbc6c22a02dc7d1dd6f22de2c2b3e7eac17.tar.bz2 |
Move tab functions off Browser into browser_tabstrip and browser_tabrestore.
http://crbug.com/133576
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10702029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145015 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer')
-rw-r--r-- | chrome/browser/importer/importer_host.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/importer/importer_host.cc b/chrome/browser/importer/importer_host.cc index 3b0a34c..38d51fb 100644 --- a/chrome/browser/importer/importer_host.cc +++ b/chrome/browser/importer/importer_host.cc @@ -21,6 +21,7 @@ #include "chrome/browser/search_engines/template_url_service.h" #include "chrome/browser/search_engines/template_url_service_factory.h" #include "chrome/browser/ui/browser_finder.h" +#include "chrome/browser/ui/browser_tabstrip.h" #include "chrome/browser/ui/simple_message_box.h" #include "chrome/common/chrome_notification_types.h" #include "chrome/common/pref_names.h" @@ -165,7 +166,8 @@ void ImporterHost::OnGoogleGAIACookieChecked(bool result) { DCHECK(profile_); Browser* browser = browser::FindLastActiveWithProfile(profile_); if (browser) - browser->AddSelectedTabWithURL(url, content::PAGE_TRANSITION_TYPED); + chrome::AddSelectedTabWithURL(browser, url, + content::PAGE_TRANSITION_TYPED); MessageLoop::current()->PostTask(FROM_HERE, base::Bind( &ImporterHost::OnImportLockDialogEnd, this, false)); |