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

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

Issue 13957012: Adding a NetworkProfileHandler used by ManagedNetworkConfigurationHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initial patch. Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROMEOS_NETWORK_NETWORK_PROFILE_OBSERVER_H_
6 #define CHROMEOS_NETWORK_NETWORK_PROFILE_OBSERVER_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11 #include "chromeos/network/network_profile.h"
12
13 namespace chromeos {
14
15 struct NetworkProfileState;
16
17 class NetworkProfileObserver {
18 public:
19 NetworkProfileObserver() {}
20 virtual ~NetworkProfileObserver() {}
stevenjb 2013/04/26 21:00:49 nit: these could be protected instead of using DIS
pneubeck (no reviews) 2013/04/29 18:05:51 We should keep it consistent with other observers,
stevenjb 2013/04/30 17:42:47 NetworkStateHandlerObserver is not a pure virtual
pneubeck (no reviews) 2013/05/03 17:32:55 Ok. I lost you. There are three things you mentio
21
22 virtual void OnProfileAdded(const NetworkProfile& profile) = 0;
23 virtual void OnProfileRemoved(const NetworkProfile& profile) = 0;
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(NetworkProfileObserver);
27 };
28
29
30 } // namespace chromeos
31
32 #endif // CHROMEOS_NETWORK_NETWORK_PROFILE_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698