Chromium Code Reviews

Side by Side Diff: components/offline_pages/core/offline_page_model_query.cc

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: more rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
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 199 matching lines...)
215 case Requirement::EXCLUDE_MATCHING: 215 case Requirement::EXCLUDE_MATCHING:
216 if (client_ids_.second.count(client_id) > 0) 216 if (client_ids_.second.count(client_id) > 0)
217 return false; 217 return false;
218 break; 218 break;
219 } 219 }
220 220
221 return true; 221 return true;
222 } 222 }
223 223
224 } // namespace offline_pages 224 } // namespace offline_pages
OLDNEW

Powered by Google App Engine