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

Side by Side Diff: components/wifi/wifi_service_mac.mm

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 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 | « components/wifi/fake_wifi_service.h ('k') | components/wifi/wifi_service_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/wifi/wifi_service.h" 5 #include "components/wifi/wifi_service.h"
6 6
7 #import <CoreWLAN/CoreWLAN.h> 7 #import <CoreWLAN/CoreWLAN.h>
8 #import <netinet/in.h> 8 #import <netinet/in.h>
9 #import <SystemConfiguration/SystemConfiguration.h> 9 #import <SystemConfiguration/SystemConfiguration.h>
10 10
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/mac/foundation_util.h" 14 #include "base/mac/foundation_util.h"
15 #include "base/mac/scoped_cftyperef.h" 15 #include "base/mac/scoped_cftyperef.h"
16 #include "base/mac/scoped_nsobject.h" 16 #include "base/mac/scoped_nsobject.h"
17 #include "base/mac/sdk_forward_declarations.h" 17 #include "base/mac/sdk_forward_declarations.h"
18 #include "base/macros.h" 18 #include "base/macros.h"
19 #include "base/message_loop/message_loop.h" 19 #include "base/message_loop/message_loop.h"
20 #include "base/single_thread_task_runner.h"
20 #include "base/strings/sys_string_conversions.h" 21 #include "base/strings/sys_string_conversions.h"
21 #include "base/values.h" 22 #include "base/values.h"
22 #include "components/onc/onc_constants.h" 23 #include "components/onc/onc_constants.h"
23 #include "components/wifi/network_properties.h" 24 #include "components/wifi/network_properties.h"
24 #include "crypto/apple_keychain.h" 25 #include "crypto/apple_keychain.h"
25 26
26 namespace wifi { 27 namespace wifi {
27 28
28 // Implementation of WiFiService for Mac OS X. 29 // Implementation of WiFiService for Mac OS X.
29 class WiFiServiceMac : public WiFiService { 30 class WiFiServiceMac : public WiFiService {
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 DVLOG(1) << "NotifyNetworkChanged: " << network_guid; 618 DVLOG(1) << "NotifyNetworkChanged: " << network_guid;
618 NetworkGuidList changed_networks(1, network_guid); 619 NetworkGuidList changed_networks(1, network_guid);
619 event_task_runner_->PostTask( 620 event_task_runner_->PostTask(
620 FROM_HERE, base::Bind(networks_changed_observer_, changed_networks)); 621 FROM_HERE, base::Bind(networks_changed_observer_, changed_networks));
621 } 622 }
622 623
623 // static 624 // static
624 WiFiService* WiFiService::Create() { return new WiFiServiceMac(); } 625 WiFiService* WiFiService::Create() { return new WiFiServiceMac(); }
625 626
626 } // namespace wifi 627 } // namespace wifi
OLDNEW
« no previous file with comments | « components/wifi/fake_wifi_service.h ('k') | components/wifi/wifi_service_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698