OLD | NEW |
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.h" | 5 #include "net/cookies/cookie_store.h" |
6 | 6 |
| 7 #include "base/bind.h" |
| 8 #include "base/callback.h" |
7 #include "net/cookies/cookie_options.h" | 9 #include "net/cookies/cookie_options.h" |
8 | 10 |
9 namespace net { | 11 namespace net { |
10 | 12 |
11 CookieStore::~CookieStore() {} | 13 CookieStore::~CookieStore() {} |
12 | 14 |
13 std::string CookieStore::BuildCookieLine( | 15 std::string CookieStore::BuildCookieLine( |
14 const std::vector<CanonicalCookie>& cookies) { | 16 const std::vector<CanonicalCookie>& cookies) { |
15 std::string cookie_line; | 17 std::string cookie_line; |
16 for (const auto& cookie : cookies) { | 18 for (const auto& cookie : cookies) { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 channel_id_service_id_ = id; | 68 channel_id_service_id_ = id; |
67 } | 69 } |
68 | 70 |
69 int CookieStore::GetChannelIDServiceID() { | 71 int CookieStore::GetChannelIDServiceID() { |
70 return channel_id_service_id_; | 72 return channel_id_service_id_; |
71 } | 73 } |
72 | 74 |
73 CookieStore::CookieStore() : channel_id_service_id_(-1) {} | 75 CookieStore::CookieStore() : channel_id_service_id_(-1) {} |
74 | 76 |
75 } // namespace net | 77 } // namespace net |
OLD | NEW |