OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "components/offline_pages/offline_page_model_query.h" | 5 #include "components/offline_pages/core/offline_page_model_query.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <unordered_set> | 8 #include <unordered_set> |
9 | 9 |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
11 | 11 |
12 namespace offline_pages { | 12 namespace offline_pages { |
13 | 13 |
14 using Requirement = OfflinePageModelQuery::Requirement; | 14 using Requirement = OfflinePageModelQuery::Requirement; |
15 | 15 |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 case Requirement::EXCLUDE_MATCHING: | 201 case Requirement::EXCLUDE_MATCHING: |
202 if (client_ids_.second.count(client_id) > 0) | 202 if (client_ids_.second.count(client_id) > 0) |
203 return false; | 203 return false; |
204 break; | 204 break; |
205 } | 205 } |
206 | 206 |
207 return true; | 207 return true; |
208 } | 208 } |
209 | 209 |
210 } // namespace offline_pages | 210 } // namespace offline_pages |
OLD | NEW |