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/timer.h" |
19 #include "base/values.h" | 19 #include "base/values.h" |
20 #include "chrome/browser/chromeos/cros/network_constants.h" | 20 #include "chrome/browser/chromeos/cros/network_constants.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_ui_data.h" |
23 #include "chromeos/network/network_util.h" | 23 #include "chromeos/network/network_util.h" |
24 #include "chromeos/network/onc/onc_constants.h" | 24 #include "chromeos/network/onc/onc_constants.h" |
25 | 25 |
26 namespace chromeos { | 26 namespace chromeos { |
27 | 27 |
28 class NetworkDeviceParser; | 28 class NetworkDeviceParser; |
(...skipping 1649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1678 const std::string& service_path) = 0; | 1678 const std::string& service_path) = 0; |
1679 | 1679 |
1680 // Factory function, creates a new instance and returns ownership. | 1680 // Factory function, creates a new instance and returns ownership. |
1681 // For normal usage, access the singleton via CrosLibrary::Get(). | 1681 // For normal usage, access the singleton via CrosLibrary::Get(). |
1682 static NetworkLibrary* GetImpl(bool stub); | 1682 static NetworkLibrary* GetImpl(bool stub); |
1683 }; | 1683 }; |
1684 | 1684 |
1685 } // namespace chromeos | 1685 } // namespace chromeos |
1686 | 1686 |
1687 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_ | 1687 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_ |
OLD | NEW |