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

Side by Side Diff: chrome/browser/ui/ash/launcher/launcher_controller_helper.h

Issue 1973603002: arc: Make Play Store item persistance in shelf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 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 (c) 2012 The Chromium Authors. All rights reserved. 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 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 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_CONTROLLER_HELPER_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_CONTROLLER_HELPER_H_
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_CONTROLLER_HELPER_H_ 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_CONTROLLER_HELPER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 // Sets the currently active profile for the usage of |GetAppID|. 44 // Sets the currently active profile for the usage of |GetAppID|.
45 virtual void SetCurrentUser(Profile* profile); 45 virtual void SetCurrentUser(Profile* profile);
46 46
47 void LaunchApp(const std::string& app_id, 47 void LaunchApp(const std::string& app_id,
48 ash::LaunchSource source, 48 ash::LaunchSource source,
49 int event_flags); 49 int event_flags);
50 50
51 virtual ArcAppListPrefs* GetArcAppListPrefs() const; 51 virtual ArcAppListPrefs* GetArcAppListPrefs() const;
52 52
53 const Profile* profile() const { return profile_; }
54
53 private: 55 private:
54 // ExtensionEnableFlowDelegate: 56 // ExtensionEnableFlowDelegate:
55 void ExtensionEnableFlowFinished() override; 57 void ExtensionEnableFlowFinished() override;
56 void ExtensionEnableFlowAborted(bool user_initiated) override; 58 void ExtensionEnableFlowAborted(bool user_initiated) override;
57 59
58 Profile* profile_; 60 Profile* profile_;
59 std::unique_ptr<ExtensionEnableFlow> extension_enable_flow_; 61 std::unique_ptr<ExtensionEnableFlow> extension_enable_flow_;
60 62
61 DISALLOW_COPY_AND_ASSIGN(LauncherControllerHelper); 63 DISALLOW_COPY_AND_ASSIGN(LauncherControllerHelper);
62 }; 64 };
63 65
64 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_CONTROLLER_HELPER_H_ 66 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_CONTROLLER_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698