Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(653)

Side by Side Diff: extensions/browser/api/networking_private/networking_private_service_client.cc

Issue 2857613003: Remove unused base/threading/worker_pool.h includes. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « device/bluetooth/bluez/bluetooth_socket_bluez.cc ('k') | gpu/config/gpu_info_collector_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <utility> 7 #include <utility>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/sequenced_task_runner.h" 12 #include "base/sequenced_task_runner.h"
13 #include "base/threading/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
14 #include "base/threading/worker_pool.h"
15 #include "components/onc/onc_constants.h" 14 #include "components/onc/onc_constants.h"
16 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
17 #include "extensions/browser/api/networking_private/networking_private_api.h" 16 #include "extensions/browser/api/networking_private/networking_private_api.h"
18 #include "extensions/browser/api/networking_private/networking_private_delegate_ observer.h" 17 #include "extensions/browser/api/networking_private/networking_private_delegate_ observer.h"
19 18
20 using content::BrowserThread; 19 using content::BrowserThread;
21 using wifi::WiFiService; 20 using wifi::WiFiService;
22 21
23 namespace extensions { 22 namespace extensions {
24 23
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 } 473 }
475 474
476 void NetworkingPrivateServiceClient::OnNetworkListChangedEventOnUIThread( 475 void NetworkingPrivateServiceClient::OnNetworkListChangedEventOnUIThread(
477 const std::vector<std::string>& network_guids) { 476 const std::vector<std::string>& network_guids) {
478 DCHECK_CURRENTLY_ON(BrowserThread::UI); 477 DCHECK_CURRENTLY_ON(BrowserThread::UI);
479 for (auto& observer : network_events_observers_) 478 for (auto& observer : network_events_observers_)
480 observer.OnNetworkListChangedEvent(network_guids); 479 observer.OnNetworkListChangedEvent(network_guids);
481 } 480 }
482 481
483 } // namespace extensions 482 } // namespace extensions
OLDNEW
« no previous file with comments | « device/bluetooth/bluez/bluetooth_socket_bluez.cc ('k') | gpu/config/gpu_info_collector_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698