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

Unified Diff: chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc

Issue 2839933005: mash: Merge ChromeLauncherController and *Impl subclass. (Closed)
Patch Set: Address comments. Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc
diff --git a/chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc b/chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc
index e0c28350342fc0e5b5ed248ed9431179a9e5d6e0..2d95133cd391663ac0c5edb51fccca22c99409bb 100644
--- a/chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc
+++ b/chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc
@@ -23,7 +23,7 @@
#include "chrome/browser/ui/ash/launcher/arc_app_shelf_id.h"
#include "chrome/browser/ui/ash/launcher/arc_launcher_context_menu.h"
#include "chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h"
-#include "chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h"
+#include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
#include "chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.h"
#include "chrome/browser/ui/ash/launcher/extension_launcher_context_menu.h"
#include "chrome/test/base/testing_profile.h"
@@ -44,12 +44,12 @@ class ChromeLauncherTestShellDelegate : public ash::test::TestShellDelegate {
explicit ChromeLauncherTestShellDelegate(Profile* profile)
: profile_(profile) {}
- ChromeLauncherControllerImpl* controller() { return controller_.get(); }
+ ChromeLauncherController* controller() { return controller_.get(); }
// ash::test::TestShellDelegate:
void ShelfInit() override {
if (!controller_) {
- controller_ = base::MakeUnique<ChromeLauncherControllerImpl>(
+ controller_ = base::MakeUnique<ChromeLauncherController>(
profile_, ash::Shell::Get()->shelf_model());
controller_->Init();
}
@@ -58,7 +58,7 @@ class ChromeLauncherTestShellDelegate : public ash::test::TestShellDelegate {
private:
Profile* profile_;
- std::unique_ptr<ChromeLauncherControllerImpl> controller_;
+ std::unique_ptr<ChromeLauncherController> controller_;
DISALLOW_COPY_AND_ASSIGN(ChromeLauncherTestShellDelegate);
};
@@ -116,7 +116,7 @@ class LauncherContextMenuTest : public ash::test::AshTestBase {
Profile* profile() { return &profile_; }
- ChromeLauncherControllerImpl* controller() {
+ ChromeLauncherController* controller() {
return shell_delegate_->controller();
}

Powered by Google App Engine
This is Rietveld 408576698