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: ui/chromeos/network/network_connect.h

Issue 983823002: Use GUID instead of servicePath in network settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_430115_internet_options_enable_extension_apis
Patch Set: Use guid instead of service_path for proxy prefs Created 5 years, 9 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
« no previous file with comments | « extensions/common/api/networking_private.json ('k') | ui/chromeos/network/network_connect.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 UI_CHROMEOS_NETWORK_NETWORK_CONNECT_H 5 #ifndef UI_CHROMEOS_NETWORK_NETWORK_CONNECT_H
6 #define UI_CHROMEOS_NETWORK_NETWORK_CONNECT_H 6 #define UI_CHROMEOS_NETWORK_NETWORK_CONNECT_H
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 12 matching lines...) Expand all
23 class UI_CHROMEOS_EXPORT NetworkConnect { 23 class UI_CHROMEOS_EXPORT NetworkConnect {
24 public: 24 public:
25 class Delegate { 25 class Delegate {
26 public: 26 public:
27 // Shows UI to configure or activate the network specified by |network_id|, 27 // Shows UI to configure or activate the network specified by |network_id|,
28 // which may include showing Payment or Portal UI when appropriate. 28 // which may include showing Payment or Portal UI when appropriate.
29 virtual void ShowNetworkConfigure(const std::string& network_id) = 0; 29 virtual void ShowNetworkConfigure(const std::string& network_id) = 0;
30 30
31 // Shows the settings related to network. If |network_id| is not empty, 31 // Shows the settings related to network. If |network_id| is not empty,
32 // show the settings for that network. 32 // show the settings for that network.
33 virtual void ShowNetworkSettings(const std::string& network_id) = 0; 33 virtual void ShowNetworkSettingsForGuid(const std::string& network_id) = 0;
34 34
35 // Shows UI to enroll the network specified by |network_id| if appropriate 35 // Shows UI to enroll the network specified by |network_id| if appropriate
36 // and returns true, otherwise returns false. 36 // and returns true, otherwise returns false.
37 virtual bool ShowEnrollNetwork(const std::string& network_id) = 0; 37 virtual bool ShowEnrollNetwork(const std::string& network_id) = 0;
38 38
39 // Shows UI to unlock a mobile sim. 39 // Shows UI to unlock a mobile sim.
40 virtual void ShowMobileSimDialog() = 0; 40 virtual void ShowMobileSimDialog() = 0;
41 41
42 // Shows UI to setup a mobile network. 42 // Shows UI to setup a mobile network.
43 virtual void ShowMobileSetupDialog(const std::string& service_path) = 0; 43 virtual void ShowMobileSetupDialog(const std::string& service_path) = 0;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 virtual void CreateConfiguration(base::DictionaryValue* shill_properties, 96 virtual void CreateConfiguration(base::DictionaryValue* shill_properties,
97 bool shared) = 0; 97 bool shared) = 0;
98 98
99 // Returns the localized string for shill error string |error|. 99 // Returns the localized string for shill error string |error|.
100 virtual base::string16 GetShillErrorString( 100 virtual base::string16 GetShillErrorString(
101 const std::string& error, 101 const std::string& error,
102 const std::string& service_path) = 0; 102 const std::string& service_path) = 0;
103 103
104 // Shows the settings for the network specified by |service_path|. If empty, 104 // Shows the settings for the network specified by |service_path|. If empty,
105 // or no matching network exists, shows the general internet settings page. 105 // or no matching network exists, shows the general internet settings page.
106 virtual void ShowNetworkSettings(const std::string& service_path) = 0; 106 virtual void ShowNetworkSettingsForPath(const std::string& service_path) = 0;
107 107
108 protected: 108 protected:
109 NetworkConnect(); 109 NetworkConnect();
110 110
111 private: 111 private:
112 DISALLOW_COPY_AND_ASSIGN(NetworkConnect); 112 DISALLOW_COPY_AND_ASSIGN(NetworkConnect);
113 }; 113 };
114 114
115 } // ui 115 } // ui
116 116
117 #endif // UI_CHROMEOS_NETWORK_NETWORK_CONNECT_H 117 #endif // UI_CHROMEOS_NETWORK_NETWORK_CONNECT_H
OLDNEW
« no previous file with comments | « extensions/common/api/networking_private.json ('k') | ui/chromeos/network/network_connect.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698