OLD | NEW |
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 CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 | 107 |
108 // Creates the map of virtual networks. | 108 // Creates the map of virtual networks. |
109 base::ListValue* GetVPNList(); | 109 base::ListValue* GetVPNList(); |
110 | 110 |
111 // Creates the map of remembered networks. | 111 // Creates the map of remembered networks. |
112 base::ListValue* GetRememberedList(); | 112 base::ListValue* GetRememberedList(); |
113 | 113 |
114 // Fills network information into JS dictionary for displaying network lists. | 114 // Fills network information into JS dictionary for displaying network lists. |
115 void FillNetworkInfo(base::DictionaryValue* dictionary); | 115 void FillNetworkInfo(base::DictionaryValue* dictionary); |
116 | 116 |
117 // Keep track of the service path for the network shown in the Details view. | |
118 std::string details_path_; | |
119 | |
120 // Weak pointer factory so we can start connections at a later time | 117 // Weak pointer factory so we can start connections at a later time |
121 // without worrying that they will actually try to happen after the lifetime | 118 // without worrying that they will actually try to happen after the lifetime |
122 // of this object. | 119 // of this object. |
123 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; | 120 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; |
124 | 121 |
125 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); | 122 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); |
126 }; | 123 }; |
127 | 124 |
128 } // namespace options | 125 } // namespace options |
129 } // namespace chromeos | 126 } // namespace chromeos |
130 | 127 |
131 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ | 128 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ |
OLD | NEW |