Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Side by Side Diff: blimp/client/core/settings/settings_observer.h

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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"
9
10 namespace blimp {
11 namespace client {
12
13 class SettingsObserver {
14 public:
15 virtual ~SettingsObserver() = default;
16
17 // Invoked when enabling or disabling Blimp mode in the Settings.
18 virtual void OnBlimpModeEnabled(bool enable) {}
19
20 // Invoked when enabling or disabling to show the network stats in the
21 // Settings.
22 virtual void OnShowNetworkStatsChanged(bool enable) {}
23
24 // Invoked when enabling or disabling to download the whole document in the
25 // Settings.
26 virtual void OnRecordWholeDocumentChanged(bool enable) {}
27
28 // Invoked when a setting changed that requires the application to restart
29 // before it can take effect.
30 virtual void OnRestartRequired() {}
31
32 protected:
33 SettingsObserver() = default;
34
35 private:
36 DISALLOW_COPY_AND_ASSIGN(SettingsObserver);
37 };
38
39 } // namespace client
40 } // namespace blimp
41
42 #endif // BLIMP_CLIENT_CORE_SETTINGS_SETTINGS_OBSERVER_H_
OLDNEW
« no previous file with comments | « blimp/client/core/settings/settings_feature.cc ('k') | blimp/client/core/settings/settings_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698