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

Unified Diff: components/password_manager/core/browser/webdata/password_web_data_service_win.h

Issue 380023002: Move Password specific webdata logic into passwords component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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: components/password_manager/core/browser/webdata/password_web_data_service_win.h
diff --git a/chrome/browser/webdata/password_web_data_service_win.h b/components/password_manager/core/browser/webdata/password_web_data_service_win.h
similarity index 82%
rename from chrome/browser/webdata/password_web_data_service_win.h
rename to components/password_manager/core/browser/webdata/password_web_data_service_win.h
index 28c86a79b81ec3dbad44de12e6dfcfcbc5b5544e..aefa7b1b0333297bf69e58b86baa7a74ad42f7e2 100644
--- a/chrome/browser/webdata/password_web_data_service_win.h
+++ b/components/password_manager/core/browser/webdata/password_web_data_service_win.h
@@ -1,9 +1,9 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_WEBDATA_PASSWORD_WEB_DATA_SERVICE_WIN_H_
-#define CHROME_BROWSER_WEBDATA_PASSWORD_WEB_DATA_SERVICE_WIN_H_
+#ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_WEBDATA_PASSWORD_WEB_DATA_SERVICE_WIN_H_
+#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_WEBDATA_PASSWORD_WEB_DATA_SERVICE_WIN_H_
#include <vector>
@@ -20,6 +20,7 @@ class Profile;
class WebDatabaseService;
namespace base {
+class MessageLoopProxy;
class Thread;
}
@@ -39,6 +40,7 @@ class PasswordWebDataService : public WebDataServiceBase {
content::BrowserContext* context);
PasswordWebDataService(scoped_refptr<WebDatabaseService> wdbs,
+ scoped_refptr<base::MessageLoopProxy> ui_thread,
const ProfileErrorCallback& callback);
// Adds |info| to the list of imported passwords from ie7/ie8.
@@ -57,7 +59,7 @@ class PasswordWebDataService : public WebDataServiceBase {
protected:
// For unit tests, passes a null callback.
- PasswordWebDataService();
+ PasswordWebDataService(scoped_refptr<base::MessageLoopProxy> ui_thread);
virtual ~PasswordWebDataService();
@@ -73,4 +75,4 @@ class PasswordWebDataService : public WebDataServiceBase {
DISALLOW_COPY_AND_ASSIGN(PasswordWebDataService);
};
-#endif // CHROME_BROWSER_WEBDATA_PASSWORD_WEB_DATA_SERVICE_WIN_H_
+#endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_WEBDATA_PASSWORD_WEB_DATA_SERVICE_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698