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

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

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PSL_MATCHING_HELPER_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PSL_MATCHING_HELPER_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PSL_MATCHING_HELPER_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PSL_MATCHING_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h"
11 10
12 class GURL; 11 class GURL;
13 12
14 namespace password_manager { 13 namespace password_manager {
15 14
16 // Enum used for histogram tracking PSL Domain triggering. 15 // Enum used for histogram tracking PSL Domain triggering.
17 // New entries should only be added to the end of the enum (before *_COUNT) so 16 // New entries should only be added to the end of the enum (before *_COUNT) so
18 // as to not disrupt existing data. 17 // as to not disrupt existing data.
19 enum PSLDomainMatchMetric { 18 enum PSLDomainMatchMetric {
20 PSL_DOMAIN_MATCH_NOT_USED = 0, 19 PSL_DOMAIN_MATCH_NOT_USED = 0,
(...skipping 20 matching lines...) Expand all
41 bool IsPublicSuffixDomainMatch(const std::string& url1, 40 bool IsPublicSuffixDomainMatch(const std::string& url1,
42 const std::string& url2); 41 const std::string& url2);
43 42
44 // Two hosts are considered to belong to the same website when they share the 43 // Two hosts are considered to belong to the same website when they share the
45 // registry-controlled domain part. 44 // registry-controlled domain part.
46 std::string GetRegistryControlledDomain(const GURL& signon_realm); 45 std::string GetRegistryControlledDomain(const GURL& signon_realm);
47 46
48 } // namespace password_manager 47 } // namespace password_manager
49 48
50 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PSL_MATCHING_HELPER_H_ 49 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PSL_MATCHING_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698