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

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

Issue 1152373003: url: Fix the TODO in url_parse.h header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 #include <iosfwd> 47 #include <iosfwd>
48 #include <string> 48 #include <string>
49 #include <vector> 49 #include <vector>
50 50
51 #include "base/containers/hash_tables.h" 51 #include "base/containers/hash_tables.h"
52 #include "base/logging.h" 52 #include "base/logging.h"
53 #include "base/strings/utf_string_conversions.h" 53 #include "base/strings/utf_string_conversions.h"
54 #include "base/time/time.h" 54 #include "base/time/time.h"
55 #include "net/base/net_util.h" 55 #include "net/base/net_util.h"
56 #include "url/url_parse.h" 56 #include "url/third_party/mozilla/url_parse.h"
57 57
58 namespace autofill { 58 namespace autofill {
59 struct PasswordForm; 59 struct PasswordForm;
60 } // namespace autofill 60 } // namespace autofill
61 61
62 namespace base { 62 namespace base {
63 class CommandLine; 63 class CommandLine;
64 } // namespace base 64 } // namespace base
65 65
66 namespace password_manager { 66 namespace password_manager {
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 template <> 217 template <>
218 struct hash<password_manager::FacetURI> { 218 struct hash<password_manager::FacetURI> {
219 size_t operator()(const password_manager::FacetURI& facet_uri) const { 219 size_t operator()(const password_manager::FacetURI& facet_uri) const {
220 return hash<std::string>()(facet_uri.potentially_invalid_spec()); 220 return hash<std::string>()(facet_uri.potentially_invalid_spec());
221 } 221 }
222 }; 222 };
223 223
224 } // namespace BASE_HASH_NAMESPACE 224 } // namespace BASE_HASH_NAMESPACE
225 225
226 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_UTILS_H_ 226 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_UTILS_H_
OLDNEW
« no previous file with comments | « components/omnibox/autocomplete_input_unittest.cc ('k') | components/policy/core/browser/url_blacklist_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698