- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / update_observer.h
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.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_UPDATE_OBSERVER_H_
6 #define CHROME_BROWSER_EXTENSIONS_UPDATE_OBSERVER_H_
7
8 #include <string>
9
10 namespace extensions {
11
12 class UpdateObserver {
13  public:
14   // Invoked when an app update is available.
15   virtual void OnAppUpdateAvailable(const std::string& app_id) = 0;
16
17   // Invoked when Chrome update is available.
18   virtual void OnChromeUpdateAvailable() = 0;
19
20  protected:
21   virtual ~UpdateObserver() {}
22 };
23
24 }  // namespace extensions
25
26 #endif  // CHROME_BROWSER_EXTENSIONS_UPDATE_OBSERVER_H_