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

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

Issue 300623008: Move NetworkTypePattern to its own file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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
« no previous file with comments | « chromeos/network/network_state.cc ('k') | chromeos/network/network_state_handler.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_STATE_HANDLER_H_ 5 #ifndef CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_
6 #define CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_ 6 #define CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/callback_forward.h" 13 #include "base/callback_forward.h"
14 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/memory/scoped_vector.h" 16 #include "base/memory/scoped_vector.h"
17 #include "base/observer_list.h" 17 #include "base/observer_list.h"
18 #include "chromeos/chromeos_export.h" 18 #include "chromeos/chromeos_export.h"
19 #include "chromeos/network/managed_state.h" 19 #include "chromeos/network/managed_state.h"
20 #include "chromeos/network/network_handler.h" 20 #include "chromeos/network/network_handler.h"
21 #include "chromeos/network/network_handler_callbacks.h" 21 #include "chromeos/network/network_handler_callbacks.h"
22 #include "chromeos/network/network_type_pattern.h"
22 #include "chromeos/network/shill_property_handler.h" 23 #include "chromeos/network/shill_property_handler.h"
23 24
24 namespace base { 25 namespace base {
25 class DictionaryValue; 26 class DictionaryValue;
26 class ListValue; 27 class ListValue;
27 class Value; 28 class Value;
28 } 29 }
29 30
30 namespace tracked_objects { 31 namespace tracked_objects {
31 class Location; 32 class Location;
32 } 33 }
33 34
34 namespace chromeos { 35 namespace chromeos {
35 36
36 class DeviceState; 37 class DeviceState;
37 class NetworkState; 38 class NetworkState;
38 class NetworkStateHandlerObserver; 39 class NetworkStateHandlerObserver;
39 class NetworkStateHandlerTest; 40 class NetworkStateHandlerTest;
40 class NetworkTypePattern;
41 41
42 // Class for tracking the list of visible networks and their properties. 42 // Class for tracking the list of visible networks and their properties.
43 // 43 //
44 // This class maps essential properties from the connection manager (Shill) for 44 // This class maps essential properties from the connection manager (Shill) for
45 // each visible network. It is not used to change the properties of services or 45 // each visible network. It is not used to change the properties of services or
46 // devices, only global (manager) properties. 46 // devices, only global (manager) properties.
47 // 47 //
48 // All getters return the currently cached properties. This class is expected to 48 // All getters return the currently cached properties. This class is expected to
49 // keep properties up to date by managing the appropriate Shill observers. 49 // keep properties up to date by managing the appropriate Shill observers.
50 // It will invoke its own more specific observer methods when the specified 50 // It will invoke its own more specific observer methods when the specified
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 // Map of network specifiers to guids. Contains an entry for each 397 // Map of network specifiers to guids. Contains an entry for each
398 // FavoriteState that is not saved in a profile. 398 // FavoriteState that is not saved in a profile.
399 SpecifierGuidMap specifier_guid_map_; 399 SpecifierGuidMap specifier_guid_map_;
400 400
401 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandler); 401 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandler);
402 }; 402 };
403 403
404 } // namespace chromeos 404 } // namespace chromeos
405 405
406 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_ 406 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_
OLDNEW
« no previous file with comments | « chromeos/network/network_state.cc ('k') | chromeos/network/network_state_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698