diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-15 01:48:40 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-15 01:48:40 +0000 |
commit | f75700d1aadf943fb5efd74ced9b85fb3cb42a6b (patch) | |
tree | bf607548d6603607fd77d101f23f58bdf55c8e3a /chrome/browser/password_manager | |
parent | d877dec1bc09a822079cd05cb3b1f53cde4991f1 (diff) | |
download | chromium_src-f75700d1aadf943fb5efd74ced9b85fb3cb42a6b.zip chromium_src-f75700d1aadf943fb5efd74ced9b85fb3cb42a6b.tar.gz chromium_src-f75700d1aadf943fb5efd74ced9b85fb3cb42a6b.tar.bz2 |
Make password_manager.cc compile on Posix.
Review URL: http://codereview.chromium.org/20383
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9833 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/password_manager')
-rw-r--r-- | chrome/browser/password_manager/password_form_manager.cc | 8 | ||||
-rw-r--r-- | chrome/browser/password_manager/password_manager.cc | 6 |
2 files changed, 4 insertions, 10 deletions
diff --git a/chrome/browser/password_manager/password_form_manager.cc b/chrome/browser/password_manager/password_form_manager.cc index 43120cc..138b713 100644 --- a/chrome/browser/password_manager/password_form_manager.cc +++ b/chrome/browser/password_manager/password_form_manager.cc @@ -6,14 +6,8 @@ #include <algorithm> -#if defined(OS_POSIX) -// TODO(port): remove these when supporting classes are ported -#include "chrome/common/temp_scaffolding_stubs.h" -#elif defined(OS_WIN) -#include "chrome/browser/password_manager/password_manager.h" -#endif - #include "base/string_util.h" +#include "chrome/browser/password_manager/password_manager.h" #include "chrome/browser/profile.h" #include "webkit/glue/password_form_dom_manager.h" diff --git a/chrome/browser/password_manager/password_manager.cc b/chrome/browser/password_manager/password_manager.cc index 4769f07..1b67d72 100644 --- a/chrome/browser/password_manager/password_manager.cc +++ b/chrome/browser/password_manager/password_manager.cc @@ -88,9 +88,9 @@ void PasswordManager::RegisterUserPrefs(PrefService* prefs) { } PasswordManager::PasswordManager(WebContents* web_contents) - : web_contents_(web_contents), - observer_(NULL), - login_managers_deleter_(&pending_login_managers_) { + : login_managers_deleter_(&pending_login_managers_), + web_contents_(web_contents), + observer_(NULL) { password_manager_enabled_.Init(prefs::kPasswordManagerEnabled, web_contents->profile()->GetPrefs(), NULL); } |