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

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

Issue 1028243007: Call Device.SetCarrier when the ONC Carrier property is specified. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@onc_clang
Patch Set: Fix components_unittests Created 5 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
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_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_ 5 #ifndef CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_
6 #define CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_ 6 #define CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // Sets the user's settings of an already configured network with 77 // Sets the user's settings of an already configured network with
78 // |service_path|. A network can be initially configured by calling 78 // |service_path|. A network can be initially configured by calling
79 // CreateConfiguration or if it is managed by a policy. The given properties 79 // CreateConfiguration or if it is managed by a policy. The given properties
80 // will be merged with the existing settings, and it won't clear any existing 80 // will be merged with the existing settings, and it won't clear any existing
81 // properties. This method is expected to be called by a user initiated 81 // properties. This method is expected to be called by a user initiated
82 // action (see NetworkConfigurationObserver::Source). 82 // action (see NetworkConfigurationObserver::Source).
83 virtual void SetProperties( 83 virtual void SetProperties(
84 const std::string& service_path, 84 const std::string& service_path,
85 const base::DictionaryValue& user_settings, 85 const base::DictionaryValue& user_settings,
86 const base::Closure& callback, 86 const base::Closure& callback,
87 const network_handler::ErrorCallback& error_callback) const = 0; 87 const network_handler::ErrorCallback& error_callback) = 0;
88 88
89 // Initially configures an unconfigured network with the given user settings 89 // Initially configures an unconfigured network with the given user settings
90 // and returns the new identifier to |callback| if successful. Fails if the 90 // and returns the new identifier to |callback| if successful. Fails if the
91 // network was already configured by a call to this function or because of a 91 // network was already configured by a call to this function or because of a
92 // policy. The new configuration will be owned by user |userhash|. If 92 // policy. The new configuration will be owned by user |userhash|. If
93 // |userhash| is empty, the new configuration will be shared. This method is 93 // |userhash| is empty, the new configuration will be shared. This method is
94 // expected to be called by a user initiated action (see 94 // expected to be called by a user initiated action (see
95 // NetworkConfigurationObserver::Source). 95 // NetworkConfigurationObserver::Source).
96 virtual void CreateConfiguration( 96 virtual void CreateConfiguration(
97 const std::string& userhash, 97 const std::string& userhash,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 const std::string& guid, 147 const std::string& guid,
148 const std::string& profile_path) const = 0; 148 const std::string& profile_path) const = 0;
149 149
150 private: 150 private:
151 DISALLOW_ASSIGN(ManagedNetworkConfigurationHandler); 151 DISALLOW_ASSIGN(ManagedNetworkConfigurationHandler);
152 }; 152 };
153 153
154 } // namespace chromeos 154 } // namespace chromeos
155 155
156 #endif // CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_ 156 #endif // CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_shill_device_client.cc ('k') | chromeos/network/managed_network_configuration_handler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698