OLD | NEW |
---|---|
(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_UPGRADE_OBSERVER_H_ | |
6 #define CHROME_BROWSER_UPGRADE_OBSERVER_H_ | |
7 | |
8 #include "base/macros.h" | |
9 | |
10 class UpgradeObserver { | |
11 public: | |
12 // Triggered when a software update is available, but downloading requires | |
13 // user's agreement as current connection is cellular. | |
14 virtual void OnUpdateOverCellularAvailable() = 0; | |
15 UpgradeObserver() {} | |
sky
2017/05/19 14:22:28
You shouldn't need this (and if you do, it should
| |
16 | |
17 protected: | |
18 virtual ~UpgradeObserver() {} | |
19 | |
20 private: | |
21 DISALLOW_COPY_AND_ASSIGN(UpgradeObserver); | |
sky
2017/05/19 14:22:28
You shouldn't need this on a pure virtual class.
| |
22 }; | |
23 | |
24 #endif // CHROME_BROWSER_UPGRADE_OBSERVER_H_ | |
OLD | NEW |