OLD | NEW |
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 #include "chrome/browser/chromeos/options/network_connect.h" | 5 #include "chrome/browser/chromeos/options/network_connect.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/shell_delegate.h" | 8 #include "ash/shell_delegate.h" |
9 #include "ash/system/chromeos/network/network_connect.h" | 9 #include "ash/system/chromeos/network/network_connect.h" |
10 #include "ash/system/chromeos/network/network_observer.h" | 10 #include "ash/system/chromeos/network/network_observer.h" |
11 #include "ash/system/tray/system_tray_notifier.h" | 11 #include "ash/system/tray/system_tray_notifier.h" |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
15 #include "chrome/browser/chromeos/cros/cros_library.h" | 15 #include "chrome/browser/chromeos/cros/cros_library.h" |
16 #include "chrome/browser/chromeos/cros/network_library.h" | 16 #include "chrome/browser/chromeos/cros/network_library.h" |
17 #include "chrome/browser/chromeos/enrollment_dialog_view.h" | 17 #include "chrome/browser/chromeos/enrollment_dialog_view.h" |
18 #include "chrome/browser/chromeos/options/network_config_view.h" | 18 #include "chrome/browser/chromeos/options/network_config_view.h" |
19 #include "chrome/browser/profiles/profile_manager.h" | 19 #include "chrome/browser/profiles/profile_manager.h" |
20 #include "chrome/browser/ui/browser_finder.h" | 20 #include "chrome/browser/ui/browser_finder.h" |
21 #include "chrome/browser/ui/chrome_pages.h" | 21 #include "chrome/browser/ui/chrome_pages.h" |
22 #include "chrome/browser/ui/webui/chromeos/mobile_setup_dialog.h" | 22 #include "chrome/browser/ui/webui/chromeos/mobile_setup_dialog.h" |
23 #include "chrome/common/url_constants.h" | 23 #include "chrome/common/url_constants.h" |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 content::RecordAction( | 219 content::RecordAction( |
220 content::UserMetricsAction("OpenInternetOptionsDialog")); | 220 content::UserMetricsAction("OpenInternetOptionsDialog")); |
221 Browser* browser = chrome::FindOrCreateTabbedBrowser( | 221 Browser* browser = chrome::FindOrCreateTabbedBrowser( |
222 ProfileManager::GetDefaultProfileOrOffTheRecord(), | 222 ProfileManager::GetDefaultProfileOrOffTheRecord(), |
223 chrome::HOST_DESKTOP_TYPE_ASH); | 223 chrome::HOST_DESKTOP_TYPE_ASH); |
224 chrome::ShowSettingsSubPage(browser, page); | 224 chrome::ShowSettingsSubPage(browser, page); |
225 } | 225 } |
226 | 226 |
227 } // namespace network_connect | 227 } // namespace network_connect |
228 } // namespace chromeos | 228 } // namespace chromeos |
OLD | NEW |