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

Side by Side Diff: content/app/android/download_main.cc

Issue 1622743005: Introduce background Download process to android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moving away from ChildProcessLauncher Created 4 years, 10 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/message_loop/message_loop.h"
6 #include "base/threading/platform_thread.h"
7 #include "content/public/common/main_function_params.h"
8
9 namespace content {
10
11 // Mainline routine for running as the download process.
12 // TODO(qinmin): Use IPC to pass download items from the browser process to this
13 // process.
no sievers 2016/02/02 01:37:38 Does this TODO still apply?
qinmin 2016/02/02 20:51:41 Done. Removed
14 int DownloadMain(const MainFunctionParams& parameters) {
15 // The main message loop of the utility process.
16 base::MessageLoop main_message_loop;
17 base::PlatformThread::SetName("CrDownloadMain");
18 base::MessageLoop::current()->Run();
19
20 return 0;
21 }
22
23 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698