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

Side by Side Diff: chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/ui/views/apps/app_info_dialog/app_info_dialog_views.h" 5 #include "chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.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 "chrome/browser/extensions/extension_service.h" 14 #include "chrome/browser/extensions/extension_service.h"
14 #include "chrome/browser/extensions/test_extension_environment.h" 15 #include "chrome/browser/extensions/test_extension_environment.h"
15 #include "chrome/browser/ui/tabs/tab_strip_model.h" 16 #include "chrome/browser/ui/tabs/tab_strip_model.h"
16 #include "chrome/browser/ui/views/apps/app_info_dialog/app_info_header_panel.h" 17 #include "chrome/browser/ui/views/apps/app_info_dialog/app_info_header_panel.h"
17 #include "chrome/common/extensions/extension_constants.h" 18 #include "chrome/common/extensions/extension_constants.h"
18 #include "chrome/test/base/browser_with_test_window_test.h" 19 #include "chrome/test/base/browser_with_test_window_test.h"
19 #include "chrome/test/base/testing_profile.h" 20 #include "chrome/test/base/testing_profile.h"
20 #include "extensions/browser/extension_system.h" 21 #include "extensions/browser/extension_system.h"
21 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 extensions::ExtensionSystem::Get(other_profile.get()) 302 extensions::ExtensionSystem::Get(other_profile.get())
302 ->extension_service() 303 ->extension_service()
303 ->AddExtension(other_app.get()); 304 ->AddExtension(other_app.get());
304 ShowAppInfoForProfile(extension_misc::kChromeAppId, other_profile.get()); 305 ShowAppInfoForProfile(extension_misc::kChromeAppId, other_profile.get());
305 EXPECT_FALSE(widget_->IsClosed()); 306 EXPECT_FALSE(widget_->IsClosed());
306 // The ARC App info links are not available if ARC is not allowed for 307 // The ARC App info links are not available if ARC is not allowed for
307 // secondary profile. 308 // secondary profile.
308 EXPECT_FALSE(dialog_->arc_app_info_links_for_test()); 309 EXPECT_FALSE(dialog_->arc_app_info_links_for_test());
309 } 310 }
310 #endif 311 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698