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

Side by Side Diff: chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.h

Issue 2691063002: arc: Use AndroidKioskAppInfoProto.display_name() as ARC++ Kiosk app name. (Closed)
Patch Set: fix post-merge nits from http://crrev.com/2451793002 Created 3 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_CHROMEOS_APP_MODE_ARC_ARC_KIOSK_APP_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_ARC_ARC_KIOSK_APP_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_ARC_ARC_KIOSK_APP_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_ARC_ARC_KIOSK_APP_MANAGER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 std::string name_; 48 std::string name_;
49 }; 49 };
50 50
51 using ArcKioskApps = std::vector<ArcKioskApp>; 51 using ArcKioskApps = std::vector<ArcKioskApp>;
52 52
53 class ArcKioskAppManagerObserver { 53 class ArcKioskAppManagerObserver {
54 public: 54 public:
55 virtual void OnArcKioskAppsChanged() {} 55 virtual void OnArcKioskAppsChanged() {}
56 56
57 protected: 57 protected:
58 virtual ~ArcKioskAppManagerObserver() {} 58 virtual ~ArcKioskAppManagerObserver() = default;
59 }; 59 };
60 60
61 static ArcKioskAppManager* Get(); 61 static ArcKioskAppManager* Get();
62 62
63 ArcKioskAppManager(); 63 ArcKioskAppManager();
64 ~ArcKioskAppManager(); 64 ~ArcKioskAppManager();
65 65
66 // Registers kiosk app entries in local state. 66 // Registers kiosk app entries in local state.
67 static void RegisterPrefs(PrefRegistrySimple* registry); 67 static void RegisterPrefs(PrefRegistrySimple* registry);
68 68
(...skipping 28 matching lines...) Expand all
97 local_accounts_subscription_; 97 local_accounts_subscription_;
98 std::unique_ptr<CrosSettings::ObserverSubscription> 98 std::unique_ptr<CrosSettings::ObserverSubscription>
99 local_account_auto_login_id_subscription_; 99 local_account_auto_login_id_subscription_;
100 100
101 DISALLOW_COPY_AND_ASSIGN(ArcKioskAppManager); 101 DISALLOW_COPY_AND_ASSIGN(ArcKioskAppManager);
102 }; 102 };
103 103
104 } // namespace chromeos 104 } // namespace chromeos
105 105
106 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_ARC_ARC_KIOSK_APP_MANAGER_H_ 106 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_ARC_ARC_KIOSK_APP_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698