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

Side by Side Diff: components/password_manager/core/browser/affiliation_utils.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // This file contains utilities related to working with "facets". 5 // This file contains utilities related to working with "facets".
6 // 6 //
7 // A "facet" is defined as the manifestation of a logical application on a given 7 // A "facet" is defined as the manifestation of a logical application on a given
8 // platform. For example, "My Bank" may have released an Android application 8 // platform. For example, "My Bank" may have released an Android application
9 // and a Web application accessible from a browser. These are all facets of the 9 // and a Web application accessible from a browser. These are all facets of the
10 // "My Bank" logical application. 10 // "My Bank" logical application.
(...skipping 30 matching lines...) Expand all
41 // openssl sha -sha512 -binary | base64 | tr '+/' '-_' 41 // openssl sha -sha512 -binary | base64 | tr '+/' '-_'
42 // 42 //
43 43
44 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_UTILS_H_ 44 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_UTILS_H_
45 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_UTILS_H_ 45 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_UTILS_H_
46 46
47 #include <iosfwd> 47 #include <iosfwd>
48 #include <string> 48 #include <string>
49 #include <vector> 49 #include <vector>
50 50
51 #include <stddef.h>
52
51 #include "base/containers/hash_tables.h" 53 #include "base/containers/hash_tables.h"
52 #include "base/logging.h" 54 #include "base/logging.h"
53 #include "base/strings/utf_string_conversions.h" 55 #include "base/strings/utf_string_conversions.h"
54 #include "base/time/time.h" 56 #include "base/time/time.h"
55 #include "url/third_party/mozilla/url_parse.h" 57 #include "url/third_party/mozilla/url_parse.h"
56 58
57 namespace autofill { 59 namespace autofill {
58 struct PasswordForm; 60 struct PasswordForm;
59 } // namespace autofill 61 } // namespace autofill
60 62
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 template <> 214 template <>
213 struct hash<password_manager::FacetURI> { 215 struct hash<password_manager::FacetURI> {
214 size_t operator()(const password_manager::FacetURI& facet_uri) const { 216 size_t operator()(const password_manager::FacetURI& facet_uri) const {
215 return hash<std::string>()(facet_uri.potentially_invalid_spec()); 217 return hash<std::string>()(facet_uri.potentially_invalid_spec());
216 } 218 }
217 }; 219 };
218 220
219 } // namespace BASE_HASH_NAMESPACE 221 } // namespace BASE_HASH_NAMESPACE
220 222
221 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_UTILS_H_ 223 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698