| 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 #include "extensions/browser/api/networking_private/networking_private_service_c
lient.h" | 5 #include "extensions/browser/api/networking_private/networking_private_service_c
lient.h" |
| 6 | 6 |
| 7 #include "base/base64.h" | 7 #include "base/base64.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/sequenced_task_runner.h" | 9 #include "base/sequenced_task_runner.h" |
| 10 #include "base/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
| 11 #include "base/threading/worker_pool.h" | 11 #include "base/threading/worker_pool.h" |
| 12 #include "components/onc/onc_constants.h" | 12 #include "components/onc/onc_constants.h" |
| 13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
| 14 #include "extensions/browser/api/networking_private/networking_private_api.h" | 14 #include "extensions/browser/api/networking_private/networking_private_api.h" |
| 15 #include "extensions/browser/api/networking_private/networking_private_delegate_
observer.h" | 15 #include "extensions/browser/api/networking_private/networking_private_delegate_
observer.h" |
| 16 | 16 |
| 17 using content::BrowserThread; | 17 using content::BrowserThread; |
| 18 using wifi::WiFiService; | 18 using wifi::WiFiService; |
| 19 | 19 |
| 20 namespace extensions { | 20 namespace extensions { |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 | 466 |
| 467 void NetworkingPrivateServiceClient::OnNetworkListChangedEventOnUIThread( | 467 void NetworkingPrivateServiceClient::OnNetworkListChangedEventOnUIThread( |
| 468 const std::vector<std::string>& network_guids) { | 468 const std::vector<std::string>& network_guids) { |
| 469 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 469 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 470 FOR_EACH_OBSERVER(NetworkingPrivateDelegateObserver, | 470 FOR_EACH_OBSERVER(NetworkingPrivateDelegateObserver, |
| 471 network_events_observers_, | 471 network_events_observers_, |
| 472 OnNetworkListChangedEvent(network_guids)); | 472 OnNetworkListChangedEvent(network_guids)); |
| 473 } | 473 } |
| 474 | 474 |
| 475 } // namespace extensions | 475 } // namespace extensions |
| OLD | NEW |