summaryrefslogtreecommitdiffstats
path: root/chrome/browser/password_manager
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-22 20:51:25 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-22 20:51:25 +0000
commitd8c66043b5bc1e26d5abb2cc6cf84d3a586ed126 (patch)
treedf54bcd989dc3fe077d7cdab970990a40f3281eb /chrome/browser/password_manager
parent565ddfa2a9489e8d3d333c9e28b61a4be272547b (diff)
downloadchromium_src-d8c66043b5bc1e26d5abb2cc6cf84d3a586ed126.zip
chromium_src-d8c66043b5bc1e26d5abb2cc6cf84d3a586ed126.tar.gz
chromium_src-d8c66043b5bc1e26d5abb2cc6cf84d3a586ed126.tar.bz2
Move TabContentsObserver to content/public, rename it to WebContentsObserver, and put it into the content namespace.
BUG=98716 TBR=tburkard Review URL: http://codereview.chromium.org/9026011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115599 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/password_manager')
-rw-r--r--chrome/browser/password_manager/password_manager.cc2
-rw-r--r--chrome/browser/password_manager/password_manager.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/password_manager/password_manager.cc b/chrome/browser/password_manager/password_manager.cc
index daf6706..8eaf155 100644
--- a/chrome/browser/password_manager/password_manager.cc
+++ b/chrome/browser/password_manager/password_manager.cc
@@ -57,7 +57,7 @@ static void ReportMetrics(bool password_manager_enabled) {
PasswordManager::PasswordManager(TabContents* tab_contents,
PasswordManagerDelegate* delegate)
- : TabContentsObserver(tab_contents),
+ : content::WebContentsObserver(tab_contents),
login_managers_deleter_(&pending_login_managers_),
delegate_(delegate),
observer_(NULL) {
diff --git a/chrome/browser/password_manager/password_manager.h b/chrome/browser/password_manager/password_manager.h
index 882066b..aac2129 100644
--- a/chrome/browser/password_manager/password_manager.h
+++ b/chrome/browser/password_manager/password_manager.h
@@ -11,7 +11,7 @@
#include "chrome/browser/password_manager/password_form_manager.h"
#include "chrome/browser/prefs/pref_member.h"
#include "chrome/browser/ui/login/login_model.h"
-#include "content/browser/tab_contents/tab_contents_observer.h"
+#include "content/public/browser/web_contents_observer.h"
#include "webkit/forms/password_form.h"
#include "webkit/forms/password_form_dom_manager.h"
@@ -25,7 +25,7 @@ class PrefService;
// database through the WebDataService. The PasswordManager is a LoginModel
// for purposes of supporting HTTP authentication dialogs.
class PasswordManager : public LoginModel,
- public TabContentsObserver {
+ public content::WebContentsObserver {
public:
static void RegisterUserPrefs(PrefService* prefs);
@@ -49,7 +49,7 @@ class PasswordManager : public LoginModel,
// of 2 (see SavePassword).
void ProvisionallySavePassword(webkit::forms::PasswordForm form);
- // TabContentsObserver overrides.
+ // content::WebContentsObserver overrides.
virtual void DidStopLoading() OVERRIDE;
virtual void DidNavigateAnyFrame(
const content::LoadCommittedDetails& details,