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

Side by Side Diff: chrome/browser/chromeos/lock_screen_apps/state_observer.h

Issue 2839383002: Introduce lock_screen_apps to chrome/browser/chromeos (Closed)
Patch Set: . Created 3 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
(Empty)
1 // Copyright 2017 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_LOCK_SCREEN_APPS_STATE_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOCK_SCREEN_APPS_STATE_OBSERVER_H_
7
8 #include "chrome/browser/chromeos/lock_screen_apps/types.h"
9
10 namespace lock_screen_apps {
11
12 // Interface that can be used to observe lock screen apps state.
13 class StateObserver {
14 public:
15 virtual ~StateObserver() {}
16
17 // Invoked when the state of support for app provided lock screen actions
18 // changes.
19 // |states|: Maps actions supported by the platform to their current state.
20 virtual void OnLockScreenAppsStateChanged(Action action,
21 ActionState state) = 0;
22 };
23
24 } // namespace lock_screen_apps
25
26 #endif // CHROME_BROWSER_CHROMEOS_LOCK_SCREEN_APPS_STATE_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698