OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/dom_ui/internet_options_handler.h" | 5 #include "chrome/browser/chromeos/dom_ui/internet_options_handler.h" |
6 | 6 |
7 #include <ctype.h> | 7 #include <ctype.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "app/l10n_util.h" | 12 #include "app/l10n_util.h" |
13 #include "app/resource_bundle.h" | 13 #include "app/resource_bundle.h" |
14 #include "base/base64.h" | 14 #include "base/base64.h" |
15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
16 #include "base/callback.h" | 16 #include "base/callback.h" |
17 #include "base/i18n/time_formatting.h" | 17 #include "base/i18n/time_formatting.h" |
18 #include "base/string16.h" | 18 #include "base/string16.h" |
19 #include "base/string_number_conversions.h" | 19 #include "base/string_number_conversions.h" |
20 #include "base/time.h" | 20 #include "base/time.h" |
21 #include "base/utf_string_conversions.h" | 21 #include "base/utf_string_conversions.h" |
22 #include "base/values.h" | 22 #include "base/values.h" |
23 #include "chrome/browser/browser.h" | |
24 #include "chrome/browser/browser_list.h" | 23 #include "chrome/browser/browser_list.h" |
25 #include "chrome/browser/browser_window.h" | 24 #include "chrome/browser/browser_window.h" |
26 #include "chrome/browser/chromeos/cros/cros_library.h" | 25 #include "chrome/browser/chromeos/cros/cros_library.h" |
27 #include "chrome/browser/chromeos/login/ownership_service.h" | 26 #include "chrome/browser/chromeos/login/ownership_service.h" |
28 #include "chrome/browser/chromeos/status/network_menu.h" | 27 #include "chrome/browser/chromeos/status/network_menu.h" |
29 #include "chrome/browser/dom_ui/dom_ui_util.h" | 28 #include "chrome/browser/dom_ui/dom_ui_util.h" |
30 #include "chrome/browser/tab_contents/tab_contents.h" | 29 #include "chrome/browser/tab_contents/tab_contents.h" |
31 #include "chrome/browser/tab_contents/tab_contents_view.h" | 30 #include "chrome/browser/tab_contents/tab_contents_view.h" |
| 31 #include "chrome/browser/ui/browser.h" |
32 #include "chrome/common/notification_service.h" | 32 #include "chrome/common/notification_service.h" |
33 #include "chrome/common/time_format.h" | 33 #include "chrome/common/time_format.h" |
34 #include "grit/browser_resources.h" | 34 #include "grit/browser_resources.h" |
35 #include "grit/chromium_strings.h" | 35 #include "grit/chromium_strings.h" |
36 #include "grit/generated_resources.h" | 36 #include "grit/generated_resources.h" |
37 #include "grit/locale_settings.h" | 37 #include "grit/locale_settings.h" |
38 #include "grit/theme_resources.h" | 38 #include "grit/theme_resources.h" |
39 #include "third_party/skia/include/core/SkBitmap.h" | 39 #include "third_party/skia/include/core/SkBitmap.h" |
40 | 40 |
41 static const char kOtherNetworksFakePath[] = "?"; | 41 static const char kOtherNetworksFakePath[] = "?"; |
(...skipping 925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
967 (*it)->name(), | 967 (*it)->name(), |
968 (*it)->connecting(), | 968 (*it)->connecting(), |
969 (*it)->connected(), | 969 (*it)->connected(), |
970 chromeos::TYPE_WIFI, | 970 chromeos::TYPE_WIFI, |
971 true, | 971 true, |
972 chromeos::ACTIVATION_STATE_UNKNOWN, | 972 chromeos::ACTIVATION_STATE_UNKNOWN, |
973 false)); | 973 false)); |
974 } | 974 } |
975 return list; | 975 return list; |
976 } | 976 } |
OLD | NEW |