Make default apps cache multiprofile friendly
[chromium-blink-merge.git] / chrome / browser / extensions / update_observer.h
blob3eea2600db3db37f0883699ecb3b90679008922a
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 CHROME_BROWSER_EXTENSIONS_UPDATE_OBSERVER_H_
6 #define CHROME_BROWSER_EXTENSIONS_UPDATE_OBSERVER_H_
8 #include <string>
10 namespace extensions {
12 class UpdateObserver {
13 public:
14 // Invoked when an app update is available.
15 virtual void OnAppUpdateAvailable(const std::string& app_id) = 0;
17 // Invoked when Chrome update is available.
18 virtual void OnChromeUpdateAvailable() = 0;
20 protected:
21 virtual ~UpdateObserver() {}
24 } // namespace extensions
26 #endif // CHROME_BROWSER_EXTENSIONS_UPDATE_OBSERVER_H_