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

Side by Side Diff: net/cookies/cookie_store_test_helpers.cc

Issue 676073003: Add AddCallbackForCookie method to CookieStore. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/cookies/cookie_store_test_helpers.h" 5 #include "net/cookies/cookie_store_test_helpers.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 9
10 namespace net { 10 namespace net {
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 } 128 }
129 129
130 void DelayedCookieMonster::DeleteSessionCookiesAsync(const DeleteCallback&) { 130 void DelayedCookieMonster::DeleteSessionCookiesAsync(const DeleteCallback&) {
131 ADD_FAILURE(); 131 ADD_FAILURE();
132 } 132 }
133 133
134 CookieMonster* DelayedCookieMonster::GetCookieMonster() { 134 CookieMonster* DelayedCookieMonster::GetCookieMonster() {
135 return cookie_monster_.get(); 135 return cookie_monster_.get();
136 } 136 }
137 137
138 scoped_ptr<CookieStore::CookieChangedSubscription>
139 DelayedCookieMonster::AddCallbackForCookie(
140 const GURL& url,
141 const std::string& name,
142 const CookieChangedCallback& callback) {
143 return scoped_ptr<CookieStore::CookieChangedSubscription>();
erikwright (departed) 2014/10/24 20:11:10 ADD_FAILURE();
144 }
145
138 } // namespace net 146 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698