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/browsing_data/browsing_data_channel_id_helper.h" | 5 #include "chrome/browser/browsing_data/browsing_data_channel_id_helper.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
12 #include "base/thread_task_runner_handle.h" | 13 #include "base/thread_task_runner_handle.h" |
13 #include "content/public/browser/browser_thread.h" | 14 #include "content/public/browser/browser_thread.h" |
14 #include "net/ssl/channel_id_service.h" | 15 #include "net/ssl/channel_id_service.h" |
15 #include "net/url_request/url_request_context.h" | 16 #include "net/url_request/url_request_context.h" |
16 #include "net/url_request/url_request_context_getter.h" | 17 #include "net/url_request/url_request_context_getter.h" |
17 | 18 |
18 using content::BrowserThread; | 19 using content::BrowserThread; |
19 | 20 |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 net::ChannelIDStore::ChannelIDList channel_id_list; | 182 net::ChannelIDStore::ChannelIDList channel_id_list; |
182 for (const auto& pair : channel_id_map_) | 183 for (const auto& pair : channel_id_map_) |
183 channel_id_list.push_back(pair.second); | 184 channel_id_list.push_back(pair.second); |
184 callback.Run(channel_id_list); | 185 callback.Run(channel_id_list); |
185 } | 186 } |
186 | 187 |
187 void CannedBrowsingDataChannelIDHelper::DeleteChannelID( | 188 void CannedBrowsingDataChannelIDHelper::DeleteChannelID( |
188 const std::string& server_id) { | 189 const std::string& server_id) { |
189 NOTREACHED(); | 190 NOTREACHED(); |
190 } | 191 } |
OLD | NEW |