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

Unified Diff: components/wifi/fake_wifi_service.h

Issue 1144153004: components: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/webdata_services/web_data_service_wrapper.cc ('k') | components/wifi/fake_wifi_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/wifi/fake_wifi_service.h
diff --git a/components/wifi/fake_wifi_service.h b/components/wifi/fake_wifi_service.h
index ab61bcbefcb63e10f2cafb350d4c859f7f273fcb..bb5c757479571981eb200b574be00ec2043b8dbb 100644
--- a/components/wifi/fake_wifi_service.h
+++ b/components/wifi/fake_wifi_service.h
@@ -52,7 +52,7 @@ class FakeWiFiService : public WiFiService {
std::string* key_data,
std::string* error) override;
void SetEventObservers(
- scoped_refptr<base::MessageLoopProxy> message_loop_proxy,
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner,
const NetworkGuidListCallback& networks_changed_observer,
const NetworkGuidListCallback& network_list_changed_observer) override;
void RequestConnectedNetworkUpdate() override;
@@ -71,7 +71,7 @@ class FakeWiFiService : public WiFiService {
void NotifyNetworkChanged(const std::string& network_guid);
NetworkList networks_;
- scoped_refptr<base::MessageLoopProxy> message_loop_proxy_;
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
NetworkGuidListCallback networks_changed_observer_;
NetworkGuidListCallback network_list_changed_observer_;
« no previous file with comments | « components/webdata_services/web_data_service_wrapper.cc ('k') | components/wifi/fake_wifi_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698