Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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 BLIMP_CLIENT_CORE_SETTINGS_SETTINGS_OBSERVER_H_ | |
| 6 #define BLIMP_CLIENT_CORE_SETTINGS_SETTINGS_OBSERVER_H_ | |
| 7 | |
| 8 #include "base/observer_list.h" | |
|
David Trainor- moved to gerrit
2016/09/27 04:10:06
Remove this?
Menglin
2016/09/30 23:48:57
Done.
| |
| 9 | |
| 10 namespace blimp { | |
| 11 namespace client { | |
| 12 | |
| 13 class SettingsObserver { | |
| 14 public: | |
| 15 virtual ~SettingsObserver() = default; | |
| 16 virtual void OnShowNetworkStatsChanged(bool enable) {} | |
| 17 virtual void OnRecordWholeDocumentChanged(bool enable) {} | |
| 18 virtual void OnRestartRequired() {} | |
| 19 | |
| 20 protected: | |
| 21 SettingsObserver() {} | |
|
David Trainor- moved to gerrit
2016/09/27 04:10:06
try = default on this too?
Menglin
2016/09/30 23:48:57
I am passing a Settings* to the constructor. pleas
| |
| 22 | |
| 23 private: | |
| 24 DISALLOW_COPY_AND_ASSIGN(SettingsObserver); | |
| 25 }; | |
| 26 | |
| 27 } // namespace client | |
| 28 } // namespace blimp | |
| 29 | |
| 30 #endif // BLIMP_CLIENT_CORE_SETTINGS_SETTINGS_OBSERVER_H_ | |
| OLD | NEW |