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

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

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream 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
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/run_loop.h" 10 #include "base/run_loop.h"
10 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
12 #include "base/test/scoped_feature_list.h" 13 #include "base/test/scoped_feature_list.h"
13 #include "base/time/time.h" 14 #include "base/time/time.h"
14 #include "chrome/browser/autofill/personal_data_manager_factory.h" 15 #include "chrome/browser/autofill/personal_data_manager_factory.h"
15 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 16 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
16 #include "chrome/browser/browsing_data/browsing_data_helper.h" 17 #include "chrome/browser/browsing_data/browsing_data_helper.h"
17 #include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate_fac tory.h" 18 #include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate_fac tory.h"
18 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" 19 #include "chrome/browser/content_settings/host_content_settings_map_factory.h"
(...skipping 2314 matching lines...) Expand 10 before | Expand all | Expand 10 after
2333 base::Callback<bool(const GURL&)> origin_filter; 2334 base::Callback<bool(const GURL&)> origin_filter;
2334 tester.GetMockInfo(&remove_count, &data_type_mask, &origin_filter); 2335 tester.GetMockInfo(&remove_count, &data_type_mask, &origin_filter);
2335 2336
2336 EXPECT_EQ(1, remove_count); 2337 EXPECT_EQ(1, remove_count);
2337 EXPECT_EQ(net::ReportingBrowsingDataRemover::DATA_TYPE_REPORTS | 2338 EXPECT_EQ(net::ReportingBrowsingDataRemover::DATA_TYPE_REPORTS |
2338 net::ReportingBrowsingDataRemover::DATA_TYPE_CLIENTS, 2339 net::ReportingBrowsingDataRemover::DATA_TYPE_CLIENTS,
2339 data_type_mask); 2340 data_type_mask);
2340 EXPECT_TRUE( 2341 EXPECT_TRUE(
2341 ProbablySameFilters(builder->BuildGeneralFilter(), origin_filter)); 2342 ProbablySameFilters(builder->BuildGeneralFilter(), origin_filter));
2342 } 2343 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698