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

Unified Diff: chrome/browser/extensions/app_notify_channel_ui.cc

Issue 10535077: TabContentsWrapper -> TabContents, part 12. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/app_notify_channel_ui.h ('k') | chrome/browser/extensions/app_process_apitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/app_notify_channel_ui.cc
diff --git a/chrome/browser/extensions/app_notify_channel_ui.cc b/chrome/browser/extensions/app_notify_channel_ui.cc
index f50f4df42b40f208a4700e6121456d539f05de2d..5a0b588ac9797d2a32b0a65cd456afae97a5f92f 100644
--- a/chrome/browser/extensions/app_notify_channel_ui.cc
+++ b/chrome/browser/extensions/app_notify_channel_ui.cc
@@ -14,7 +14,7 @@
#include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
-#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
+#include "chrome/browser/ui/tab_contents/tab_contents.h"
#include "chrome/browser/ui/webui/signin/login_ui_service.h"
#include "chrome/browser/ui/webui/signin/login_ui_service_factory.h"
#include "chrome/common/url_constants.h"
@@ -91,11 +91,11 @@ void AppNotifyChannelUIImpl::InfoBar::InfoBarDismissed() {
AppNotifyChannelUIImpl::AppNotifyChannelUIImpl(
Profile* profile,
- TabContentsWrapper* wrapper,
+ TabContents* tab_contents,
const std::string& app_name,
AppNotifyChannelUI::UIType ui_type)
: profile_(profile->GetOriginalProfile()),
- wrapper_(wrapper),
+ tab_contents_(tab_contents),
app_name_(app_name),
ui_type_(ui_type),
delegate_(NULL),
@@ -125,7 +125,7 @@ void AppNotifyChannelUIImpl::PromptSyncSetup(
return;
}
- InfoBarTabHelper* helper = wrapper_->infobar_tab_helper();
+ InfoBarTabHelper* helper = tab_contents_->infobar_tab_helper();
helper->AddInfoBar(new AppNotifyChannelUIImpl::InfoBar(
this, helper, app_name_));
}
« no previous file with comments | « chrome/browser/extensions/app_notify_channel_ui.h ('k') | chrome/browser/extensions/app_process_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698