OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/cros/network_library.h" | 5 #include "chrome/browser/chromeos/cros/network_library.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <map> | 8 #include <map> |
| 9 #include <set> |
9 | 10 |
10 #include "base/i18n/icu_encoding_detection.h" | 11 #include "base/i18n/icu_encoding_detection.h" |
11 #include "base/i18n/icu_string_conversions.h" | 12 #include "base/i18n/icu_string_conversions.h" |
12 #include "base/i18n/time_formatting.h" | 13 #include "base/i18n/time_formatting.h" |
13 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
14 #include "base/stl_util-inl.h" | 15 #include "base/stl_util.h" |
15 #include "base/string_number_conversions.h" | 16 #include "base/string_number_conversions.h" |
16 #include "base/string_tokenizer.h" | 17 #include "base/string_tokenizer.h" |
17 #include "base/string_util.h" | 18 #include "base/string_util.h" |
18 #include "base/stringprintf.h" | 19 #include "base/stringprintf.h" |
19 #include "base/utf_string_conversions.h" | 20 #include "base/utf_string_conversions.h" |
20 #include "base/utf_string_conversion_utils.h" | 21 #include "base/utf_string_conversion_utils.h" |
21 #include "base/values.h" | 22 #include "base/values.h" |
22 #include "chrome/browser/chromeos/cros/cros_library.h" | 23 #include "chrome/browser/chromeos/cros/cros_library.h" |
23 #include "chrome/browser/chromeos/login/user_manager.h" | 24 #include "chrome/browser/chromeos/login/user_manager.h" |
24 #include "chrome/browser/chromeos/network_login_observer.h" | 25 #include "chrome/browser/chromeos/network_login_observer.h" |
(...skipping 5377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5402 network_library->Init(); | 5403 network_library->Init(); |
5403 } | 5404 } |
5404 return network_library; | 5405 return network_library; |
5405 } | 5406 } |
5406 | 5407 |
5407 } // namespace chromeos | 5408 } // namespace chromeos |
5408 | 5409 |
5409 // Allows InvokeLater without adding refcounting. This class is a Singleton and | 5410 // Allows InvokeLater without adding refcounting. This class is a Singleton and |
5410 // won't be deleted until it's last InvokeLater is run. | 5411 // won't be deleted until it's last InvokeLater is run. |
5411 DISABLE_RUNNABLE_METHOD_REFCOUNT(chromeos::NetworkLibraryImplBase); | 5412 DISABLE_RUNNABLE_METHOD_REFCOUNT(chromeos::NetworkLibraryImplBase); |
OLD | NEW |