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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/scoped_vector.h" | 16 #include "base/memory/scoped_vector.h" |
17 #include "base/memory/singleton.h" | 17 #include "base/memory/singleton.h" |
18 #include "base/observer_list.h" | 18 #include "base/observer_list.h" |
19 #include "base/string16.h" | 19 #include "base/string16.h" |
20 #include "base/timer.h" | 20 #include "base/timer.h" |
| 21 #include "chrome/browser/chromeos/cros/cros_network_functions.h" |
21 #include "chrome/browser/chromeos/cros/network_ui_data.h" | 22 #include "chrome/browser/chromeos/cros/network_ui_data.h" |
22 #include "googleurl/src/gurl.h" | 23 #include "googleurl/src/gurl.h" |
23 #include "third_party/cros/chromeos_network.h" | |
24 | 24 |
25 namespace base { | 25 namespace base { |
26 class DictionaryValue; | 26 class DictionaryValue; |
27 class Value; | 27 class Value; |
28 } // namespace base | 28 } // namespace base |
29 | 29 |
30 namespace chromeos { | 30 namespace chromeos { |
31 | 31 |
32 class NetworkDeviceParser; | 32 class NetworkDeviceParser; |
33 class NetworkParser; | 33 class NetworkParser; |
(...skipping 1940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1974 const std::string& service_path) = 0; | 1974 const std::string& service_path) = 0; |
1975 | 1975 |
1976 // Factory function, creates a new instance and returns ownership. | 1976 // Factory function, creates a new instance and returns ownership. |
1977 // For normal usage, access the singleton via CrosLibrary::Get(). | 1977 // For normal usage, access the singleton via CrosLibrary::Get(). |
1978 static NetworkLibrary* GetImpl(bool stub); | 1978 static NetworkLibrary* GetImpl(bool stub); |
1979 }; | 1979 }; |
1980 | 1980 |
1981 } // namespace chromeos | 1981 } // namespace chromeos |
1982 | 1982 |
1983 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_ | 1983 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_ |
OLD | NEW |