| 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;
|
| }
|
|
|