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

Unified Diff: net/cookies/cookie_store_test_helpers.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/cookies/cookie_store_test_helpers.cc
diff --git a/net/cookies/cookie_store_test_helpers.cc b/net/cookies/cookie_store_test_helpers.cc
index fdf2c1f1ee803432f21ce74977ee6cb7869209ea..815cb8b56c978635391ba4d8741c4681f3a7ea34 100644
--- a/net/cookies/cookie_store_test_helpers.cc
+++ b/net/cookies/cookie_store_test_helpers.cc
@@ -12,9 +12,9 @@ namespace net {
const int kDelayedTime = 0;
DelayedCookieMonster::DelayedCookieMonster()
- : cookie_monster_(new CookieMonster(NULL, NULL)),
- did_run_(false),
- result_(false) {
+ : cookie_monster_(new CookieMonster(NULL, NULL)),
+ did_run_(false),
+ result_(false) {
}
DelayedCookieMonster::~DelayedCookieMonster() {
@@ -38,7 +38,9 @@ void DelayedCookieMonster::SetCookieWithOptionsAsync(
const CookieMonster::SetCookiesCallback& callback) {
did_run_ = false;
cookie_monster_->SetCookieWithOptionsAsync(
- url, cookie_line, options,
+ url,
+ cookie_line,
+ options,
base::Bind(&DelayedCookieMonster::SetCookiesInternalCallback,
base::Unretained(this)));
DCHECK_EQ(did_run_, true);
@@ -56,7 +58,8 @@ void DelayedCookieMonster::GetCookiesWithOptionsAsync(
const CookieMonster::GetCookiesCallback& callback) {
did_run_ = false;
cookie_monster_->GetCookiesWithOptionsAsync(
- url, options,
+ url,
+ options,
base::Bind(&DelayedCookieMonster::GetCookiesWithOptionsInternalCallback,
base::Unretained(this)));
DCHECK_EQ(did_run_, true);
@@ -86,10 +89,9 @@ void DelayedCookieMonster::InvokeGetCookieStringCallback(
callback.Run(cookie_);
}
-bool DelayedCookieMonster::SetCookieWithOptions(
- const GURL& url,
- const std::string& cookie_line,
- const CookieOptions& options) {
+bool DelayedCookieMonster::SetCookieWithOptions(const GURL& url,
+ const std::string& cookie_line,
+ const CookieOptions& options) {
ADD_FAILURE();
return false;
}

Powered by Google App Engine
This is Rietveld 408576698