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

Side by Side Diff: chrome/browser/chromeos/app_mode/kiosk_app_update_install_gate.h

Issue 1869483002: kiosk: Defer app update until platform matches (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for comments from jenny 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_UPDATE_INSTALL_GATE_H_
6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_UPDATE_INSTALL_GATE_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/extensions/install_gate.h"
10
11 namespace extensions {
12 class Extension;
13 class ExtensionRegistry;
14 }
15
16 class Profile;
17
18 namespace chromeos {
19
20 class KioskAppUpdateInstallGate : public extensions::InstallGate {
21 public:
22 explicit KioskAppUpdateInstallGate(Profile* profile);
23 ~KioskAppUpdateInstallGate() override;
24
25 // InstallGate:
26 Action ShouldDelay(const extensions::Extension* extension,
27 bool install_immediately) override;
28
29 private:
30 Profile* const profile_;
31 extensions::ExtensionRegistry* const registry_;
32
33 DISALLOW_COPY_AND_ASSIGN(KioskAppUpdateInstallGate);
34 };
35
36 } // namespace chromeos
37
38 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_UPDATE_INSTALL_GATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698