Added condition that checks if ephemeral user has GAIA account (not a public session...
[chromium-blink-merge.git] / extensions / browser / update_observer.h
blob68c6e22368ebaadc38cb3043f3bdf77ecc034131
1 // Copyright 2013 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 EXTENSIONS_BROWSER_UPDATE_OBSERVER_H_
6 #define EXTENSIONS_BROWSER_UPDATE_OBSERVER_H_
8 #include <string>
10 namespace extensions {
11 class Extension;
13 class UpdateObserver {
14 public:
15 // Invoked when an app update is available.
16 virtual void OnAppUpdateAvailable(const Extension* extension) = 0;
18 // Invoked when Chrome update is available.
19 virtual void OnChromeUpdateAvailable() = 0;
21 protected:
22 virtual ~UpdateObserver() {}
25 } // namespace extensions
27 #endif // EXTENSIONS_BROWSER_UPDATE_OBSERVER_H_