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

Unified Diff: net/base/static_cookie_policy.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/static_cookie_policy.h
diff --git a/net/base/static_cookie_policy.h b/net/base/static_cookie_policy.h
index 023153199dbfad761d8982bcc91eb179aab5b9c6..718d242b1922ea82e72d7f63dd22eb6a92fbf8c9 100644
--- a/net/base/static_cookie_policy.h
+++ b/net/base/static_cookie_policy.h
@@ -27,13 +27,9 @@ class NET_EXPORT StaticCookiePolicy {
BLOCK_ALL_THIRD_PARTY_COOKIES
};
- StaticCookiePolicy()
- : type_(StaticCookiePolicy::ALLOW_ALL_COOKIES) {
- }
+ StaticCookiePolicy() : type_(StaticCookiePolicy::ALLOW_ALL_COOKIES) {}
- explicit StaticCookiePolicy(Type type)
- : type_(type) {
- }
+ explicit StaticCookiePolicy(Type type) : type_(type) {}
// Sets the current policy to enforce. This should be called when the user's
// preferences change.
@@ -46,8 +42,7 @@ class NET_EXPORT StaticCookiePolicy {
// Consults the user's third-party cookie blocking preferences to determine
// whether the URL's cookies can be set.
- int CanSetCookie(const GURL& url,
- const GURL& first_party_for_cookies) const;
+ int CanSetCookie(const GURL& url, const GURL& first_party_for_cookies) const;
private:
Type type_;

Powered by Google App Engine
This is Rietveld 408576698