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

Side by Side Diff: components/subresource_filter/content/browser/content_subresource_filter_throttle_manager_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 "components/subresource_filter/content/browser/content_subresource_filt er_throttle_manager.h" 5 #include "components/subresource_filter/content/browser/content_subresource_filt er_throttle_manager.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 13 #include "base/run_loop.h"
13 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
14 #include "base/test/test_simple_task_runner.h" 15 #include "base/test/test_simple_task_runner.h"
15 #include "components/subresource_filter/content/browser/async_document_subresour ce_filter.h" 16 #include "components/subresource_filter/content/browser/async_document_subresour ce_filter.h"
16 #include "components/subresource_filter/content/common/subresource_filter_messag es.h" 17 #include "components/subresource_filter/content/common/subresource_filter_messag es.h"
17 #include "components/subresource_filter/core/common/activation_level.h" 18 #include "components/subresource_filter/core/common/activation_level.h"
18 #include "components/subresource_filter/core/common/activation_state.h" 19 #include "components/subresource_filter/core/common/activation_state.h"
19 #include "components/subresource_filter/core/common/proto/rules.pb.h" 20 #include "components/subresource_filter/core/common/proto/rules.pb.h"
20 #include "components/subresource_filter/core/common/test_ruleset_creator.h" 21 #include "components/subresource_filter/core/common/test_ruleset_creator.h"
21 #include "components/subresource_filter/core/common/test_ruleset_utils.h" 22 #include "components/subresource_filter/core/common/test_ruleset_utils.h"
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 638
638 EXPECT_EQ(0, disallowed_notification_count()); 639 EXPECT_EQ(0, disallowed_notification_count());
639 } 640 }
640 641
641 // TODO(csharrison): Make sure the following conditions are exercised in tests: 642 // TODO(csharrison): Make sure the following conditions are exercised in tests:
642 // 643 //
643 // - Synchronous navigations to about:blank. These hit issues with the 644 // - Synchronous navigations to about:blank. These hit issues with the
644 // NavigationSimulator currently. 645 // NavigationSimulator currently.
645 646
646 } // namespace subresource_filter 647 } // namespace subresource_filter
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698