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

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

Issue 22796014: Eliminate c/b/chromeos/options/network_connect.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONNECT_H_
6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONNECT_H_
7
8 #include <string>
9 #include <vector>
10
11 #include "chromeos/network/onc/onc_constants.h"
12 #include "ui/gfx/native_widget_types.h" // gfx::NativeWindow
13
14 namespace base {
15 class DictionaryValue;
16 }
17
18 namespace chromeos {
19
20 class NetworkState;
21
22 namespace network_connect {
23
24 // Shows the mobile setup dialog which handles:
25 // * Activation for non direct-activation networks
26 // * Showing network plan info
27 void ShowMobileSetup(const std::string& service_path);
28
29 // Shows the network settings subpage for |service_path| (or the main
30 // network settings page if empty).
31 void ShowNetworkSettings(const std::string& service_path);
32
33 // Handle an unconfigured network:
34 // * Show the Configure dialog for wifi/wimax/VPN
35 // * Show the Activation, MobileSetup dialog, or settings page for cellular
36 void HandleUnconfiguredNetwork(const std::string& service_path,
37 gfx::NativeWindow parent_window);
38
39 // If the network UIData has a matching enrollment URL, triggers the enrollment
40 // dialog and returns true.
41 bool EnrollNetwork(const std::string& service_path,
42 gfx::NativeWindow parent_window);
43
44 // Looks up the policy for |network| for the current active user and sets
45 // |onc_source| accordingly.
46 const base::DictionaryValue* FindPolicyForActiveUser(
47 const NetworkState* network,
48 onc::ONCSource* onc_source);
49
50 } // namespace network_connect
51 } // namespace chromeos
52
53 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_NETWORK_CONNECT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/net/onc_utils.cc ('k') | chrome/browser/chromeos/options/network_connect.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698