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

Unified Diff: chrome/browser/ui/tab_contents/tab_contents.h

Issue 10987100: Switch AutofillManager to be UserData on WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix external delegate Created 8 years, 2 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
Index: chrome/browser/ui/tab_contents/tab_contents.h
diff --git a/chrome/browser/ui/tab_contents/tab_contents.h b/chrome/browser/ui/tab_contents/tab_contents.h
index faa3142a8c618b3de901abc17f10a32f5983a621..ecdc0ab29e3b1650b9925e1478554ae68690b501 100644
--- a/chrome/browser/ui/tab_contents/tab_contents.h
+++ b/chrome/browser/ui/tab_contents/tab_contents.h
@@ -8,12 +8,10 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/gtest_prod_util.h"
-#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "content/public/browser/web_contents_observer.h"
class AutofillExternalDelegate;
-class AutofillManager;
class BasePanelBrowserTest;
class Browser;
class BrowserCommandsTabContentsCreator;
@@ -141,8 +139,6 @@ class TabContents : public content::WebContentsObserver {
// Tab Helpers ---------------------------------------------------------------
- AutofillManager* autofill_manager() { return autofill_manager_.get(); }
-
InfoBarTabHelper* infobar_tab_helper() { return infobar_tab_helper_.get(); }
PasswordManager* password_manager() { return password_manager_.get(); }
@@ -172,7 +168,6 @@ class TabContents : public content::WebContentsObserver {
// (These provide API for callers and have a getter function listed in the
// "Tab Helpers" section in the member functions area, above.)
- scoped_refptr<AutofillManager> autofill_manager_;
scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_;
scoped_ptr<InfoBarTabHelper> infobar_tab_helper_;
« no previous file with comments | « chrome/browser/password_manager/password_manager_delegate_impl.cc ('k') | chrome/browser/ui/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698