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

Unified Diff: net/tools/dump_cache/upgrade_win.cc

Issue 136683004: Removes MessageLoop::TYPE_XXX where possible (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resolve merge Created 6 years, 11 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 | « net/tools/dump_cache/dump_files.cc ('k') | net/tools/fetch/fetch_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/dump_cache/upgrade_win.cc
diff --git a/net/tools/dump_cache/upgrade_win.cc b/net/tools/dump_cache/upgrade_win.cc
index 5135592429b4d4a7a842e7cfd914c545434efd49..68744d34f78e69e3e7e004dec8c0a7b45739ef2f 100644
--- a/net/tools/dump_cache/upgrade_win.cc
+++ b/net/tools/dump_cache/upgrade_win.cc
@@ -893,7 +893,7 @@ HANDLE CreateServer(base::string16* pipe_number) {
// This is the controller process for an upgrade operation.
int UpgradeCache(const base::FilePath& output_path, HANDLE pipe) {
- base::MessageLoop loop(base::MessageLoop::TYPE_IO);
+ base::MessageLoopForIO loop;
MasterSM master(output_path, pipe);
if (!master.DoInit()) {
@@ -908,7 +908,7 @@ int UpgradeCache(const base::FilePath& output_path, HANDLE pipe) {
// This process will only execute commands from the controller.
int RunSlave(const base::FilePath& input_path,
const base::string16& pipe_number) {
- base::MessageLoop loop(base::MessageLoop::TYPE_IO);
+ base::MessageLoopForIO loop;
base::win::ScopedHandle pipe(OpenServer(pipe_number));
if (!pipe.IsValid()) {
« no previous file with comments | « net/tools/dump_cache/dump_files.cc ('k') | net/tools/fetch/fetch_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698