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

Side by Side Diff: chromeos/network/network_configuration_observer.h

Issue 2549043002: chromeos: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « chromeos/login/auth/login_performer.h ('k') | chromeos/network/network_profile_handler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_NETWORK_NETWORK_CONFIGURATION_OBSERVER_H_ 5 #ifndef CHROMEOS_NETWORK_NETWORK_CONFIGURATION_OBSERVER_H_
6 #define CHROMEOS_NETWORK_NETWORK_CONFIGURATION_OBSERVER_H_ 6 #define CHROMEOS_NETWORK_NETWORK_CONFIGURATION_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 11
12 namespace base { 12 namespace base {
13 class DictionaryValue; 13 class DictionaryValue;
14 } 14 }
15 15
16 namespace chromeos { 16 namespace chromeos {
17 17
18 struct NetworkConfiguration;
19
20 // Observer class for network configuration events. 18 // Observer class for network configuration events.
21 class NetworkConfigurationObserver { 19 class NetworkConfigurationObserver {
22 public: 20 public:
23 // Indicates whether a configuration change is triggered by a user action, 21 // Indicates whether a configuration change is triggered by a user action,
24 // by an extension or by policy. 22 // by an extension or by policy.
25 enum Source { 23 enum Source {
26 // Triggered by a user action. 24 // Triggered by a user action.
27 SOURCE_USER_ACTION, 25 SOURCE_USER_ACTION,
28 // Triggered by an extension to install a configuration. 26 // Triggered by an extension to install a configuration.
29 SOURCE_EXTENSION_INSTALL, 27 SOURCE_EXTENSION_INSTALL,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 protected: 69 protected:
72 virtual ~NetworkConfigurationObserver() {} 70 virtual ~NetworkConfigurationObserver() {}
73 71
74 private: 72 private:
75 DISALLOW_ASSIGN(NetworkConfigurationObserver); 73 DISALLOW_ASSIGN(NetworkConfigurationObserver);
76 }; 74 };
77 75
78 } // namespace chromeos 76 } // namespace chromeos
79 77
80 #endif // CHROMEOS_NETWORK_NETWORK_CONFIGURATION_OBSERVER_H_ 78 #endif // CHROMEOS_NETWORK_NETWORK_CONFIGURATION_OBSERVER_H_
OLDNEW
« no previous file with comments | « chromeos/login/auth/login_performer.h ('k') | chromeos/network/network_profile_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698