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

Unified Diff: net/tools/net_watcher/net_watcher.cc

Issue 2211473003: Remove calls to deprecated MessageLoop methods on Windows and Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR Created 4 years, 4 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
Index: net/tools/net_watcher/net_watcher.cc
diff --git a/net/tools/net_watcher/net_watcher.cc b/net/tools/net_watcher/net_watcher.cc
index b623954c6e6a497c92224c5b8af412125900c5da..61304e14a926349ea3ff249f65a51fe202395ba1 100644
--- a/net/tools/net_watcher/net_watcher.cc
+++ b/net/tools/net_watcher/net_watcher.cc
@@ -15,6 +15,7 @@
#include "base/logging.h"
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
+#include "base/run_loop.h"
#include "base/strings/string_split.h"
#include "base/values.h"
#include "build/build_config.h"
@@ -214,7 +215,7 @@ int main(int argc, char* argv[]) {
LOG(INFO) << "Watching for network events...";
// Start watching for events.
- network_loop.Run();
+ base::RunLoop().Run();
agl 2016/08/06 00:44:00 This one seems a little suspect, although I'm not
fdoray 2016/08/06 01:26:14 see previous comment. Note that the implementatio
proxy_config_service->RemoveObserver(&net_watcher);

Powered by Google App Engine
This is Rietveld 408576698