Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: chrome/browser/browsing_data/chrome_browsing_data_remover_delegate_unittest.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_host_impl.h ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/chrome_browsing_data_remover_delegate.h" 5 #include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.h"
6 6
7 #include "base/guid.h" 7 #include "base/guid.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "base/single_thread_task_runner.h"
11 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
12 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
13 #include "base/test/scoped_feature_list.h" 14 #include "base/test/scoped_feature_list.h"
14 #include "base/time/time.h" 15 #include "base/time/time.h"
15 #include "chrome/browser/autofill/personal_data_manager_factory.h" 16 #include "chrome/browser/autofill/personal_data_manager_factory.h"
16 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 17 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
17 #include "chrome/browser/browsing_data/browsing_data_helper.h" 18 #include "chrome/browser/browsing_data/browsing_data_helper.h"
18 #include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate_fac tory.h" 19 #include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate_fac tory.h"
19 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" 20 #include "chrome/browser/content_settings/host_content_settings_map_factory.h"
20 #include "chrome/browser/domain_reliability/service_factory.h" 21 #include "chrome/browser/domain_reliability/service_factory.h"
(...skipping 2313 matching lines...) Expand 10 before | Expand all | Expand 10 after
2334 base::Callback<bool(const GURL&)> origin_filter; 2335 base::Callback<bool(const GURL&)> origin_filter;
2335 tester.GetMockInfo(&remove_count, &data_type_mask, &origin_filter); 2336 tester.GetMockInfo(&remove_count, &data_type_mask, &origin_filter);
2336 2337
2337 EXPECT_EQ(1, remove_count); 2338 EXPECT_EQ(1, remove_count);
2338 EXPECT_EQ(net::ReportingBrowsingDataRemover::DATA_TYPE_REPORTS | 2339 EXPECT_EQ(net::ReportingBrowsingDataRemover::DATA_TYPE_REPORTS |
2339 net::ReportingBrowsingDataRemover::DATA_TYPE_CLIENTS, 2340 net::ReportingBrowsingDataRemover::DATA_TYPE_CLIENTS,
2340 data_type_mask); 2341 data_type_mask);
2341 EXPECT_TRUE( 2342 EXPECT_TRUE(
2342 ProbablySameFilters(builder->BuildGeneralFilter(), origin_filter)); 2343 ProbablySameFilters(builder->BuildGeneralFilter(), origin_filter));
2343 } 2344 }
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl.h ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698