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

Unified Diff: components/password_manager/core/browser/http_data_cleaner.h

Issue 2714543006: Clean Obsolete HTTP Data from the Password Store (Closed)
Patch Set: Raw Cleaner Created 3 years, 9 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/http_data_cleaner.h
diff --git a/components/password_manager/core/browser/http_data_cleaner.h b/components/password_manager/core/browser/http_data_cleaner.h
new file mode 100644
index 0000000000000000000000000000000000000000..2aa6a07ef34e94fcb941fc6c7b0d22793205e54e
--- /dev/null
+++ b/components/password_manager/core/browser/http_data_cleaner.h
@@ -0,0 +1,29 @@
+// Copyright 2017 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_HTTP_DATA_CLEANER_H_
+#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_HTTP_DATA_CLEANER_H_
+
+#include "base/memory/ref_counted.h"
+#include "net/url_request/url_request_context_getter.h"
+
+class PrefService;
+
+namespace password_manager {
+
+class PasswordStore;
+
+void DelayCleanObsoleteHttpDataForPasswordStoreAndPrefs(
+ PasswordStore* store,
+ PrefService* prefs,
+ const scoped_refptr<net::URLRequestContextGetter>& request_context);
+
+void CleanObsoleteHttpDataForPasswordStoreAndPrefsForTesting(
+ PasswordStore* store,
+ PrefService* prefs,
+ const scoped_refptr<net::URLRequestContextGetter>& request_context);
+
+} // namespace password_manager
+
+#endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_HTTP_DATA_CLEANER_H_

Powered by Google App Engine
This is Rietveld 408576698