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

Side by Side Diff: ios/chrome/browser/ui/settings/bandwidth_management_collection_view_controller_unittest.mm

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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #import "ios/chrome/browser/ui/settings/bandwidth_management_collection_view_con troller.h" 5 #import "ios/chrome/browser/ui/settings/bandwidth_management_collection_view_con troller.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 11 #include "base/run_loop.h"
11 #include "base/test/test_simple_task_runner.h" 12 #include "base/test/test_simple_task_runner.h"
12 #include "components/pref_registry/pref_registry_syncable.h" 13 #include "components/pref_registry/pref_registry_syncable.h"
13 #include "components/prefs/testing_pref_service.h" 14 #include "components/prefs/testing_pref_service.h"
14 #include "components/sync_preferences/pref_service_mock_factory.h" 15 #include "components/sync_preferences/pref_service_mock_factory.h"
15 #include "components/sync_preferences/pref_service_syncable.h" 16 #include "components/sync_preferences/pref_service_syncable.h"
16 #include "ios/chrome/browser/browser_state/test_chrome_browser_state.h" 17 #include "ios/chrome/browser/browser_state/test_chrome_browser_state.h"
17 #include "ios/chrome/browser/pref_names.h" 18 #include "ios/chrome/browser/pref_names.h"
18 #include "ios/chrome/browser/prefs/browser_prefs.h" 19 #include "ios/chrome/browser/prefs/browser_prefs.h"
19 #import "ios/chrome/browser/ui/collection_view/collection_view_controller_test.h " 20 #import "ios/chrome/browser/ui/collection_view/collection_view_controller_test.h "
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 l10n_util::GetNSString(IDS_IOS_OPTIONS_PRELOAD_WEBPAGES); 88 l10n_util::GetNSString(IDS_IOS_OPTIONS_PRELOAD_WEBPAGES);
88 NSString* expected_subtitle = [DataplanUsageCollectionViewController 89 NSString* expected_subtitle = [DataplanUsageCollectionViewController
89 currentLabelForPreference:chrome_browser_state_->GetPrefs() 90 currentLabelForPreference:chrome_browser_state_->GetPrefs()
90 basePref:prefs::kNetworkPredictionEnabled 91 basePref:prefs::kNetworkPredictionEnabled
91 wifiPref:prefs::kNetworkPredictionWifiOnly]; 92 wifiPref:prefs::kNetworkPredictionWifiOnly];
92 CheckTextCellTitleAndSubtitle(expected_title, expected_subtitle, 93 CheckTextCellTitleAndSubtitle(expected_title, expected_subtitle,
93 action_section, 0); 94 action_section, 0);
94 } 95 }
95 96
96 } // namespace 97 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698