| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_WIFI_WIFI_SERVICE_H_ | 5 #ifndef COMPONENTS_WIFI_WIFI_SERVICE_H_ |
| 6 #define COMPONENTS_WIFI_WIFI_SERVICE_H_ | 6 #define COMPONENTS_WIFI_WIFI_SERVICE_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 15 #include "base/threading/sequenced_worker_pool.h" | 16 #include "base/threading/sequenced_worker_pool.h" |
| 16 #include "base/values.h" | 17 #include "base/values.h" |
| 17 #include "components/wifi/wifi_export.h" | 18 #include "components/wifi/wifi_export.h" |
| 18 | 19 |
| 19 namespace wifi { | 20 namespace wifi { |
| 20 | 21 |
| 21 // WiFiService interface used by implementation of chrome.networkingPrivate | 22 // WiFiService interface used by implementation of chrome.networkingPrivate |
| 22 // JavaScript extension API. All methods should be called on worker thread. | 23 // JavaScript extension API. All methods should be called on worker thread. |
| 23 // It could be created on any (including UI) thread, so nothing expensive should | 24 // It could be created on any (including UI) thread, so nothing expensive should |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 static const char kErrorScanForNetworksWithName[]; | 135 static const char kErrorScanForNetworksWithName[]; |
| 135 static const char kErrorWiFiService[]; | 136 static const char kErrorWiFiService[]; |
| 136 | 137 |
| 137 private: | 138 private: |
| 138 DISALLOW_COPY_AND_ASSIGN(WiFiService); | 139 DISALLOW_COPY_AND_ASSIGN(WiFiService); |
| 139 }; | 140 }; |
| 140 | 141 |
| 141 } // namespace wifi | 142 } // namespace wifi |
| 142 | 143 |
| 143 #endif // COMPONENTS_WIFI_WIFI_SERVICE_H_ | 144 #endif // COMPONENTS_WIFI_WIFI_SERVICE_H_ |
| OLD | NEW |