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 "chrome/browser/chromeos/cros/cros_network_functions.h" | |
20 #include "chrome/browser/chromeos/cros/network_constants.h" | 19 #include "chrome/browser/chromeos/cros/network_constants.h" |
21 #include "chrome/browser/chromeos/cros/network_ui_data.h" | 20 #include "chrome/browser/chromeos/cros/network_ui_data.h" |
| 21 #include "chromeos/network/network_ip_config.h" |
| 22 #include "chromeos/network/network_util.h" |
22 #include "chromeos/network/onc/onc_constants.h" | 23 #include "chromeos/network/onc/onc_constants.h" |
23 #include "googleurl/src/gurl.h" | 24 #include "googleurl/src/gurl.h" |
24 | 25 |
25 namespace base { | 26 namespace base { |
26 class DictionaryValue; | 27 class DictionaryValue; |
27 class Value; | 28 class Value; |
28 } // namespace base | 29 } // namespace base |
29 | 30 |
30 namespace chromeos { | 31 namespace chromeos { |
31 | 32 |
(...skipping 1686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1718 const std::string& service_path) = 0; | 1719 const std::string& service_path) = 0; |
1719 | 1720 |
1720 // Factory function, creates a new instance and returns ownership. | 1721 // Factory function, creates a new instance and returns ownership. |
1721 // For normal usage, access the singleton via CrosLibrary::Get(). | 1722 // For normal usage, access the singleton via CrosLibrary::Get(). |
1722 static NetworkLibrary* GetImpl(bool stub); | 1723 static NetworkLibrary* GetImpl(bool stub); |
1723 }; | 1724 }; |
1724 | 1725 |
1725 } // namespace chromeos | 1726 } // namespace chromeos |
1726 | 1727 |
1727 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_ | 1728 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_ |
OLD | NEW |