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

Side by Side Diff: components/wifi/fake_wifi_service.h

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
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 #ifndef COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_ 5 #ifndef COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_
6 #define COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_ 6 #define COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/single_thread_task_runner.h"
12 #include "components/wifi/network_properties.h" 13 #include "components/wifi/network_properties.h"
13 #include "components/wifi/wifi_service.h" 14 #include "components/wifi/wifi_service.h"
14 15
15 namespace wifi { 16 namespace wifi {
16 17
17 // Fake implementation of WiFiService used to satisfy expectations of 18 // Fake implementation of WiFiService used to satisfy expectations of
18 // networkingPrivateApi browser test. 19 // networkingPrivateApi browser test.
19 class FakeWiFiService : public WiFiService { 20 class FakeWiFiService : public WiFiService {
20 public: 21 public:
21 FakeWiFiService(); 22 FakeWiFiService();
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 75 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
75 NetworkGuidListCallback networks_changed_observer_; 76 NetworkGuidListCallback networks_changed_observer_;
76 NetworkGuidListCallback network_list_changed_observer_; 77 NetworkGuidListCallback network_list_changed_observer_;
77 78
78 DISALLOW_COPY_AND_ASSIGN(FakeWiFiService); 79 DISALLOW_COPY_AND_ASSIGN(FakeWiFiService);
79 }; 80 };
80 81
81 } // namespace wifi 82 } // namespace wifi
82 83
83 #endif // COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_ 84 #endif // COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_
OLDNEW
« no previous file with comments | « components/wallpaper/wallpaper_color_calculator_unittest.cc ('k') | components/wifi/wifi_service_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698