Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / chrome / browser / ui / ash / launcher / launcher_app_tab_helper.h
blobcc4c67cb46ae410c0432c7938210f4e69ab58b36
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_APP_TAB_HELPER_H_
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_APP_TAB_HELPER_H_
8 #include <string>
10 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
12 class Profile;
14 // Default implementation of LauncherUpdater::AppTabHelper that interacts
15 // with ExtensionService.
16 class LauncherAppTabHelper : public ChromeLauncherController::AppTabHelper {
17 public:
18 explicit LauncherAppTabHelper(Profile* profile);
19 ~LauncherAppTabHelper() override;
21 // AppTabHelper:
22 std::string GetAppID(content::WebContents* tab) override;
23 bool IsValidIDForCurrentUser(const std::string& id) override;
24 void SetCurrentUser(Profile* profile) override;
26 private:
27 Profile* profile_;
29 DISALLOW_COPY_AND_ASSIGN(LauncherAppTabHelper);
32 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_APP_TAB_HELPER_H_