OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chrome/browser/prerender/prerender_cookie_store.h" | 5 #include "chrome/browser/prerender/prerender_cookie_store.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
9 #include "content/public/browser/browser_thread.h" | 9 #include "content/public/browser/browser_thread.h" |
10 | 10 |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
226 // special to prevent this race condition. | 226 // special to prevent this race condition. |
227 cookie_conflict_ = true; | 227 cookie_conflict_ = true; |
228 if (!cookie_conflict_cb_.is_null()) { | 228 if (!cookie_conflict_cb_.is_null()) { |
229 BrowserThread::PostTask( | 229 BrowserThread::PostTask( |
230 BrowserThread::UI, | 230 BrowserThread::UI, |
231 FROM_HERE, | 231 FROM_HERE, |
232 cookie_conflict_cb_); | 232 cookie_conflict_cb_); |
233 } | 233 } |
234 } | 234 } |
235 | 235 |
236 scoped_ptr<CookieStore::CookieChangedSubscription> | |
237 PrerenderCookieStore::AddCallbackForCookie( | |
238 const GURL& url, | |
239 const std::string& name, | |
240 const CookieChangedCallback& callback) { | |
241 // Unimplemented. | |
242 // TODO(ellyjones): implement? | |
erikwright (departed)
2014/10/24 20:11:10
use "NOTIMPLEMENTED();" from base/logging.h so tha
| |
243 return scoped_ptr<CookieChangedSubscription>(); | |
244 } | |
245 | |
236 PrerenderCookieStore::CookieOperation::CookieOperation() { | 246 PrerenderCookieStore::CookieOperation::CookieOperation() { |
237 } | 247 } |
238 | 248 |
239 PrerenderCookieStore::CookieOperation::~CookieOperation() { | 249 PrerenderCookieStore::CookieOperation::~CookieOperation() { |
240 } | 250 } |
241 | 251 |
242 } // namespace prerender | 252 } // namespace prerender |
OLD | NEW |