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

Side by Side Diff: chrome/browser/chromeos/options/network_connect.h

Issue 16512003: Configure networks requiring a certificate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update error strings Created 7 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
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 CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONNECT_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONNECT_H_
6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONNECT_H_ 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONNECT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ui/gfx/native_widget_types.h" // gfx::NativeWindow 10 #include "ui/gfx/native_widget_types.h" // gfx::NativeWindow
(...skipping 18 matching lines...) Expand all
29 29
30 // Attempts to connect to the network specified by |service_path|. 30 // Attempts to connect to the network specified by |service_path|.
31 // Returns one of the following results: 31 // Returns one of the following results:
32 // NETWORK_NOT_FOUND if the network does not exist. 32 // NETWORK_NOT_FOUND if the network does not exist.
33 // CONNECT_NOT_STARTED if no connection attempt was started, e.g. because the 33 // CONNECT_NOT_STARTED if no connection attempt was started, e.g. because the
34 // network is already connected, connecting, or activating. 34 // network is already connected, connecting, or activating.
35 // CONNECT_STARTED if a connection attempt was started. 35 // CONNECT_STARTED if a connection attempt was started.
36 ConnectResult ConnectToNetwork(const std::string& service_path, 36 ConnectResult ConnectToNetwork(const std::string& service_path,
37 gfx::NativeWindow parent_window); 37 gfx::NativeWindow parent_window);
38 38
39 // Handle an unconfigured network which might do any of the following:
40 // * Configure and connect to the network with a matching cert but without
41 // pcks11id and tpm pin / slot configured.
42 // * Show the enrollment dialog for the network.
43 // * Show the configuration dialog for the network.
44 // * Show the activation dialog for the network.
45 // * Show the settings UI for the network.
46 void HandleUnconfiguredNetwork(const std::string& service_path,
47 gfx::NativeWindow parent_window);
48
39 } // namespace network_connect 49 } // namespace network_connect
40 } // namespace chromeos 50 } // namespace chromeos
41 51
42 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONNECT_H_ 52 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONNECT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/options/network_config_view.cc ('k') | chrome/browser/chromeos/options/network_connect.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698