OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CROS_NETWORK_LIBRARY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_ |
6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/singleton.h" | 15 #include "base/memory/singleton.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
18 #include "base/timer.h" | 18 #include "base/timer.h" |
| 19 #include "base/values.h" |
19 #include "chrome/browser/chromeos/cros/network_constants.h" | 20 #include "chrome/browser/chromeos/cros/network_constants.h" |
20 #include "chrome/browser/chromeos/cros/network_ui_data.h" | |
21 #include "chromeos/network/network_ip_config.h" | 21 #include "chromeos/network/network_ip_config.h" |
| 22 #include "chromeos/network/network_ui_data.h" |
22 #include "chromeos/network/network_util.h" | 23 #include "chromeos/network/network_util.h" |
23 #include "chromeos/network/onc/onc_constants.h" | 24 #include "chromeos/network/onc/onc_constants.h" |
24 #include "net/cert/x509_certificate.h" | 25 #include "net/cert/x509_certificate.h" |
25 | 26 |
26 namespace base { | |
27 class DictionaryValue; | |
28 class Value; | |
29 } // namespace base | |
30 | |
31 namespace chromeos { | 27 namespace chromeos { |
32 | 28 |
33 class NetworkDeviceParser; | 29 class NetworkDeviceParser; |
34 class NetworkParser; | 30 class NetworkParser; |
35 class CertificatePattern; | 31 class CertificatePattern; |
36 | 32 |
37 // This is the list of all implementation classes that are allowed | 33 // This is the list of all implementation classes that are allowed |
38 // access to the internals of the network library classes. | 34 // access to the internals of the network library classes. |
39 #define NETWORK_LIBRARY_IMPL_FRIENDS \ | 35 #define NETWORK_LIBRARY_IMPL_FRIENDS \ |
40 friend class NetworkLibraryImplBase; \ | 36 friend class NetworkLibraryImplBase; \ |
(...skipping 1700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1741 const std::string& service_path) = 0; | 1737 const std::string& service_path) = 0; |
1742 | 1738 |
1743 // Factory function, creates a new instance and returns ownership. | 1739 // Factory function, creates a new instance and returns ownership. |
1744 // For normal usage, access the singleton via CrosLibrary::Get(). | 1740 // For normal usage, access the singleton via CrosLibrary::Get(). |
1745 static NetworkLibrary* GetImpl(bool stub); | 1741 static NetworkLibrary* GetImpl(bool stub); |
1746 }; | 1742 }; |
1747 | 1743 |
1748 } // namespace chromeos | 1744 } // namespace chromeos |
1749 | 1745 |
1750 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_ | 1746 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_ |
OLD | NEW |