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

Unified Diff: chromecast/net/connectivity_checker.h

Issue 1142513004: Chromecast: MessageLoopProxy cleanup --> SingleThreadTaskRunner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 | « chromecast/media/cma/test/mock_frame_provider.cc ('k') | chromecast/net/connectivity_checker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/net/connectivity_checker.h
diff --git a/chromecast/net/connectivity_checker.h b/chromecast/net/connectivity_checker.h
index f1dedcfe277714ddca1bf40a033938172c245df1..53cb38d79cd5ada9658b3506bf0d3f6d4e2c1b33 100644
--- a/chromecast/net/connectivity_checker.h
+++ b/chromecast/net/connectivity_checker.h
@@ -14,7 +14,7 @@
class GURL;
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
}
namespace net {
@@ -46,7 +46,7 @@ class ConnectivityChecker
};
explicit ConnectivityChecker(
- const scoped_refptr<base::MessageLoopProxy>& loop_proxy);
+ const scoped_refptr<base::SingleThreadTaskRunner>& task_runner);
void AddConnectivityObserver(ConnectivityObserver* observer);
void RemoveConnectivityObserver(ConnectivityObserver* observer);
@@ -94,7 +94,7 @@ class ConnectivityChecker
scoped_ptr<net::URLRequest> url_request_;
const scoped_refptr<ObserverListThreadSafe<ConnectivityObserver> >
connectivity_observer_list_;
- const scoped_refptr<base::MessageLoopProxy> loop_proxy_;
+ const scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
bool connected_;
// Number of connectivity check errors.
unsigned int check_errors_;
« no previous file with comments | « chromecast/media/cma/test/mock_frame_provider.cc ('k') | chromecast/net/connectivity_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698