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

Unified Diff: chrome/browser/ui/ash/launcher/launcher_app_tab_helper.h

Issue 1921403002: Pin apps from prefs on the mash shelf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Only use ChromeMashShelfController with use_ash=1. Created 4 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_app_tab_helper.h
diff --git a/chrome/browser/ui/ash/launcher/launcher_app_tab_helper.h b/chrome/browser/ui/ash/launcher/launcher_app_tab_helper.h
deleted file mode 100644
index 8b53a13453d179dabd98e80d3f87a7576903d9be..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/ash/launcher/launcher_app_tab_helper.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_APP_TAB_HELPER_H_
-#define CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_APP_TAB_HELPER_H_
-
-#include <string>
-
-#include "base/macros.h"
-#include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
-
-class Profile;
-
-// Default implementation of LauncherUpdater::AppTabHelper that interacts
-// with ExtensionService.
-class LauncherAppTabHelper : public ChromeLauncherController::AppTabHelper {
- public:
- explicit LauncherAppTabHelper(Profile* profile);
- ~LauncherAppTabHelper() override;
-
- // AppTabHelper:
- std::string GetAppID(content::WebContents* tab) override;
- bool IsValidIDForCurrentUser(const std::string& id) override;
- void SetCurrentUser(Profile* profile) override;
-
- private:
- Profile* profile_;
-
- DISALLOW_COPY_AND_ASSIGN(LauncherAppTabHelper);
-};
-
-#endif // CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_APP_TAB_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698