| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/ash/launcher/chrome_launcher_controller_impl.h" | 5 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 #include "chrome/test/base/browser_with_test_window_test.h" | 74 #include "chrome/test/base/browser_with_test_window_test.h" |
| 75 #include "chrome/test/base/test_browser_window_aura.h" | 75 #include "chrome/test/base/test_browser_window_aura.h" |
| 76 #include "chrome/test/base/testing_browser_process.h" | 76 #include "chrome/test/base/testing_browser_process.h" |
| 77 #include "chrome/test/base/testing_profile.h" | 77 #include "chrome/test/base/testing_profile.h" |
| 78 #include "chrome/test/base/testing_profile_manager.h" | 78 #include "chrome/test/base/testing_profile_manager.h" |
| 79 #include "chromeos/chromeos_switches.h" | 79 #include "chromeos/chromeos_switches.h" |
| 80 #include "components/arc/common/app.mojom.h" | 80 #include "components/arc/common/app.mojom.h" |
| 81 #include "components/arc/test/fake_app_instance.h" | 81 #include "components/arc/test/fake_app_instance.h" |
| 82 #include "components/exo/shell_surface.h" | 82 #include "components/exo/shell_surface.h" |
| 83 #include "components/signin/core/account_id/account_id.h" | 83 #include "components/signin/core/account_id/account_id.h" |
| 84 #include "components/sync/api/fake_sync_change_processor.h" | 84 #include "components/sync/model/fake_sync_change_processor.h" |
| 85 #include "components/sync/api/sync_error_factory_mock.h" | 85 #include "components/sync/model/sync_error_factory_mock.h" |
| 86 #include "components/sync/protocol/sync.pb.h" | 86 #include "components/sync/protocol/sync.pb.h" |
| 87 #include "components/syncable_prefs/testing_pref_service_syncable.h" | 87 #include "components/syncable_prefs/testing_pref_service_syncable.h" |
| 88 #include "components/user_manager/fake_user_manager.h" | 88 #include "components/user_manager/fake_user_manager.h" |
| 89 #include "content/public/browser/web_contents.h" | 89 #include "content/public/browser/web_contents.h" |
| 90 #include "content/public/browser/web_contents_observer.h" | 90 #include "content/public/browser/web_contents_observer.h" |
| 91 #include "content/public/test/test_utils.h" | 91 #include "content/public/test/test_utils.h" |
| 92 #include "content/public/test/web_contents_tester.h" | 92 #include "content/public/test/web_contents_tester.h" |
| 93 #include "extensions/browser/app_window/app_window_contents.h" | 93 #include "extensions/browser/app_window/app_window_contents.h" |
| 94 #include "extensions/browser/app_window/app_window_registry.h" | 94 #include "extensions/browser/app_window/app_window_registry.h" |
| 95 #include "extensions/browser/app_window/native_app_window.h" | 95 #include "extensions/browser/app_window/native_app_window.h" |
| (...skipping 3913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4009 app_service_->GetPinPosition(extension_misc::kChromeAppId))); | 4009 app_service_->GetPinPosition(extension_misc::kChromeAppId))); |
| 4010 EXPECT_TRUE( | 4010 EXPECT_TRUE( |
| 4011 position_1.Equals(app_service_->GetPinPosition(extension1_->id()))); | 4011 position_1.Equals(app_service_->GetPinPosition(extension1_->id()))); |
| 4012 EXPECT_TRUE( | 4012 EXPECT_TRUE( |
| 4013 position_1.Equals(app_service_->GetPinPosition(extension1_->id()))); | 4013 position_1.Equals(app_service_->GetPinPosition(extension1_->id()))); |
| 4014 EXPECT_TRUE( | 4014 EXPECT_TRUE( |
| 4015 position_2.Equals(app_service_->GetPinPosition(extension2_->id()))); | 4015 position_2.Equals(app_service_->GetPinPosition(extension2_->id()))); |
| 4016 EXPECT_TRUE( | 4016 EXPECT_TRUE( |
| 4017 position_3.Equals(app_service_->GetPinPosition(extension3_->id()))); | 4017 position_3.Equals(app_service_->GetPinPosition(extension3_->id()))); |
| 4018 } | 4018 } |
| OLD | NEW |