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

Side by Side Diff: ios/clean/chrome/browser/ui/tab/tab_coordinator_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 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 #import "ios/clean/chrome/browser/ui/tab/tab_coordinator.h" 5 #import "ios/clean/chrome/browser/ui/tab/tab_coordinator.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/message_loop/message_loop.h"
8 #include "base/run_loop.h" 9 #include "base/run_loop.h"
9 #include "ios/chrome/browser/browser_state/test_chrome_browser_state.h" 10 #include "ios/chrome/browser/browser_state/test_chrome_browser_state.h"
10 #import "ios/clean/chrome/browser/ui/tab/tab_container_view_controller.h" 11 #import "ios/clean/chrome/browser/ui/tab/tab_container_view_controller.h"
11 #import "ios/shared/chrome/browser/ui/browser_list/browser.h" 12 #import "ios/shared/chrome/browser/ui/browser_list/browser.h"
12 #import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator+internal. h" 13 #import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator+internal. h"
13 #import "ios/shared/chrome/browser/ui/toolbar/toolbar_test_util.h" 14 #import "ios/shared/chrome/browser/ui/toolbar/toolbar_test_util.h"
14 #include "ios/web/public/test/test_web_thread.h" 15 #include "ios/web/public/test/test_web_thread.h"
15 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
16 #include "testing/platform_test.h" 17 #include "testing/platform_test.h"
17 18
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 [GetCoordinator().viewController class]); 89 [GetCoordinator().viewController class]);
89 } 90 }
90 91
91 TEST_F(TabCoordinatorTest, BottomToolbar) { 92 TEST_F(TabCoordinatorTest, BottomToolbar) {
92 [[NSUserDefaults standardUserDefaults] setObject:@"Enabled" 93 [[NSUserDefaults standardUserDefaults] setObject:@"Enabled"
93 forKey:@"EnableBottomToolbar"]; 94 forKey:@"EnableBottomToolbar"];
94 [GetCoordinator() start]; 95 [GetCoordinator() start];
95 EXPECT_EQ([BottomToolbarTabViewController class], 96 EXPECT_EQ([BottomToolbarTabViewController class],
96 [GetCoordinator().viewController class]); 97 [GetCoordinator().viewController class]);
97 } 98 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698