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

Side by Side Diff: components/password_manager/core/browser/hsts_query.h

Issue 2714543006: Clean Obsolete HTTP Data from the Password Store (Closed)
Patch Set: Raw Cleaner Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_HSTS_QUERY_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_HSTS_QUERY_H_
7
8 #include "base/callback_forward.h"
9 #include "base/memory/ref_counted.h"
10 #include "net/url_request/url_request_context_getter.h"
11
12 class GURL;
13
14 namespace password_manager {
15
16 using HSTSCallback = base::Callback<void(bool)>;
17
18 // Checks asynchronously whether HTTP Strict Transport Security (HSTS) is active
19 // for the host of the given origin for a given request context. Notifies
20 // |callback| with the result on the calling thread.
21 void PostHSTSQueryForHostAndRequestContext(
22 const GURL& origin,
23 const scoped_refptr<net::URLRequestContextGetter>& request_context,
24 const HSTSCallback& callback);
25
26 } // namespace password_manager
27
28 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_HSTS_QUERY_H_
OLDNEW
« no previous file with comments | « components/password_manager/core/browser/BUILD.gn ('k') | components/password_manager/core/browser/hsts_query.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698