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

Side by Side Diff: chrome/browser/predictors/resource_prefetch_predictor_browsertest.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/memory/ptr_util.h"
10 #include "chrome/browser/browsing_data/browsing_data_helper.h" 11 #include "chrome/browser/browsing_data/browsing_data_helper.h"
11 #include "chrome/browser/browsing_data/browsing_data_remover.h" 12 #include "chrome/browser/browsing_data/browsing_data_remover.h"
12 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h" 13 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h"
13 #include "chrome/browser/predictors/resource_prefetch_predictor.h" 14 #include "chrome/browser/predictors/resource_prefetch_predictor.h"
14 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" 15 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h"
15 #include "chrome/browser/predictors/resource_prefetch_predictor_test_util.h" 16 #include "chrome/browser/predictors/resource_prefetch_predictor_test_util.h"
16 #include "chrome/browser/profiles/profile.h" 17 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/browser/ui/browser.h" 18 #include "chrome/browser/ui/browser.h"
18 #include "chrome/browser/ui/tabs/tab_strip_model.h" 19 #include "chrome/browser/ui/tabs/tab_strip_model.h"
19 #include "chrome/common/chrome_switches.h" 20 #include "chrome/common/chrome_switches.h"
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 NavigateToURLAndCheckSubresources(GetURL(kHtmlSubresourcesPath), 712 NavigateToURLAndCheckSubresources(GetURL(kHtmlSubresourcesPath),
712 WindowOpenDisposition::NEW_WINDOW); 713 WindowOpenDisposition::NEW_WINDOW);
713 EXPECT_EQ(navigation_ids_history_size(), 3U); 714 EXPECT_EQ(navigation_ids_history_size(), 3U);
714 ClearCache(); 715 ClearCache();
715 NavigateToURLAndCheckSubresources(GetURL(kHtmlSubresourcesPath), 716 NavigateToURLAndCheckSubresources(GetURL(kHtmlSubresourcesPath),
716 WindowOpenDisposition::NEW_POPUP); 717 WindowOpenDisposition::NEW_POPUP);
717 EXPECT_EQ(navigation_ids_history_size(), 4U); 718 EXPECT_EQ(navigation_ids_history_size(), 4U);
718 } 719 }
719 720
720 } // namespace predictors 721 } // namespace predictors
OLDNEW
« no previous file with comments | « chrome/browser/plugins/chrome_plugin_service_filter.cc ('k') | chrome/browser/prefs/preferences_connection_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698