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

Side by Side Diff: components/wifi/wifi_service_win.cc

Issue 1210013007: clang/win: Fix warnings to prepare for building without -Wno-reorder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clang-unsequenced
Patch Set: Created 5 years, 5 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
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 "components/wifi/wifi_service.h" 5 #include "components/wifi/wifi_service.h"
6 6
7 #include <iphlpapi.h> 7 #include <iphlpapi.h>
8 #include <objbase.h> 8 #include <objbase.h>
9 #include <wlanapi.h> 9 #include <wlanapi.h>
10 10
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 WlanCloseHandle_function_(NULL), 484 WlanCloseHandle_function_(NULL),
485 WlanDeleteProfile_function_(NULL), 485 WlanDeleteProfile_function_(NULL),
486 WlanDisconnect_function_(NULL), 486 WlanDisconnect_function_(NULL),
487 WlanEnumInterfaces_function_(NULL), 487 WlanEnumInterfaces_function_(NULL),
488 WlanFreeMemory_function_(NULL), 488 WlanFreeMemory_function_(NULL),
489 WlanGetAvailableNetworkList_function_(NULL), 489 WlanGetAvailableNetworkList_function_(NULL),
490 WlanGetNetworkBssList_function_(NULL), 490 WlanGetNetworkBssList_function_(NULL),
491 WlanGetProfile_function_(NULL), 491 WlanGetProfile_function_(NULL),
492 WlanOpenHandle_function_(NULL), 492 WlanOpenHandle_function_(NULL),
493 WlanRegisterNotification_function_(NULL), 493 WlanRegisterNotification_function_(NULL),
494 WlanSaveTemporaryProfile_function_(NULL),
495 WlanScan_function_(NULL), 494 WlanScan_function_(NULL),
496 WlanSetProfile_function_(NULL), 495 WlanSetProfile_function_(NULL),
496 WlanSaveTemporaryProfile_function_(NULL),
497 client_(NULL), 497 client_(NULL),
498 enable_notify_network_changed_(true) {} 498 enable_notify_network_changed_(true) {
499 }
499 500
500 WiFiServiceImpl::~WiFiServiceImpl() { UnInitialize(); } 501 WiFiServiceImpl::~WiFiServiceImpl() { UnInitialize(); }
501 502
502 void WiFiServiceImpl::Initialize( 503 void WiFiServiceImpl::Initialize(
503 scoped_refptr<base::SequencedTaskRunner> task_runner) { 504 scoped_refptr<base::SequencedTaskRunner> task_runner) {
504 DCHECK(!client_); 505 DCHECK(!client_);
505 task_runner_.swap(task_runner); 506 task_runner_.swap(task_runner);
506 // Restore NwCategoryWizard in case if we crashed during connect. 507 // Restore NwCategoryWizard in case if we crashed during connect.
507 RestoreNwCategoryWizard(); 508 RestoreNwCategoryWizard();
508 OpenClientHandle(); 509 OpenClientHandle();
(...skipping 1378 matching lines...) Expand 10 before | Expand all | Expand 10 after
1887 DVLOG(1) << "NotifyNetworkChanged: " << network_guid; 1888 DVLOG(1) << "NotifyNetworkChanged: " << network_guid;
1888 NetworkGuidList changed_networks(1, network_guid); 1889 NetworkGuidList changed_networks(1, network_guid);
1889 event_task_runner_->PostTask( 1890 event_task_runner_->PostTask(
1890 FROM_HERE, base::Bind(networks_changed_observer_, changed_networks)); 1891 FROM_HERE, base::Bind(networks_changed_observer_, changed_networks));
1891 } 1892 }
1892 } 1893 }
1893 1894
1894 WiFiService* WiFiService::Create() { return new WiFiServiceImpl(); } 1895 WiFiService* WiFiService::Create() { return new WiFiServiceImpl(); }
1895 1896
1896 } // namespace wifi 1897 } // namespace wifi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698