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

Unified Diff: net/base/registry_controlled_domains/registry_controlled_domain.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: net/base/registry_controlled_domains/registry_controlled_domain.h
diff --git a/net/base/registry_controlled_domains/registry_controlled_domain.h b/net/base/registry_controlled_domains/registry_controlled_domain.h
index b30f55ea6c2e86b0f8ceecdfde96921561cea130..689a85bc29d34467e2682b2a760c73635f6e154b 100644
--- a/net/base/registry_controlled_domains/registry_controlled_domain.h
+++ b/net/base/registry_controlled_domains/registry_controlled_domain.h
@@ -188,7 +188,8 @@ NET_EXPORT std::string GetDomainAndRegistry(const std::string& host,
// * They don't have known domains/registries, but the hosts are identical.
// Effectively, callers can use this function to check whether the input URLs
// represent hosts "on the same site".
-NET_EXPORT bool SameDomainOrHost(const GURL& gurl1, const GURL& gurl2,
+NET_EXPORT bool SameDomainOrHost(const GURL& gurl1,
+ const GURL& gurl2,
PrivateRegistryFilter filter);
// Finds the length in bytes of the registrar portion of the host in the
@@ -224,12 +225,13 @@ NET_EXPORT size_t GetRegistryLength(const std::string& host,
UnknownRegistryFilter unknown_filter,
PrivateRegistryFilter private_filter);
-typedef const struct DomainRule* (*FindDomainPtr)(const char *, unsigned int);
+typedef const struct DomainRule* (*FindDomainPtr)(const char*, unsigned int);
// Used for unit tests, so that a different perfect hash map from the full
// list is used. Set to NULL to use the Default function.
NET_EXPORT_PRIVATE void SetFindDomainFunctionAndStringPoolForTesting(
- FindDomainPtr fn, const char* stringpool);
+ FindDomainPtr fn,
+ const char* stringpool);
} // namespace registry_controlled_domains
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698