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

Unified Diff: net/base/static_cookie_policy_unittest.cc

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_unittest.cc
diff --git a/net/base/static_cookie_policy_unittest.cc b/net/base/static_cookie_policy_unittest.cc
index 7749411addf00669fddcaad3a7c81c4dacd0b434..718cd882ee8503cf3742ba9291af6e4edf9a42d4 100644
--- a/net/base/static_cookie_policy_unittest.cc
+++ b/net/base/static_cookie_policy_unittest.cc
@@ -15,17 +15,15 @@ class StaticCookiePolicyTest : public testing::Test {
: url_google_("http://www.google.izzle"),
url_google_secure_("https://www.google.izzle"),
url_google_mail_("http://mail.google.izzle"),
- url_google_analytics_("http://www.googleanalytics.izzle") {
- }
- void SetPolicyType(StaticCookiePolicy::Type type) {
- policy_.set_type(type);
- }
+ url_google_analytics_("http://www.googleanalytics.izzle") {}
+ void SetPolicyType(StaticCookiePolicy::Type type) { policy_.set_type(type); }
int CanGetCookies(const GURL& url, const GURL& first_party) {
return policy_.CanGetCookies(url, first_party);
}
int CanSetCookie(const GURL& url, const GURL& first_party) {
return policy_.CanSetCookie(url, first_party);
}
+
protected:
StaticCookiePolicy policy_;
GURL url_google_;

Powered by Google App Engine
This is Rietveld 408576698