diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-15 22:24:33 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-15 22:24:33 +0000 |
commit | 1ef9001ca9c05ce22d2140c46856bbe52e61a6c5 (patch) | |
tree | 9a89a909d7815a001cae2b7e7f7e79b494e507a9 /cloud_print | |
parent | 880a57f7ad4f7812e65006cdf6e872f3bce01db6 (diff) | |
download | chromium_src-1ef9001ca9c05ce22d2140c46856bbe52e61a6c5.zip chromium_src-1ef9001ca9c05ce22d2140c46856bbe52e61a6c5.tar.gz chromium_src-1ef9001ca9c05ce22d2140c46856bbe52e61a6c5.tar.bz2 |
Removes MessageLoop::TYPE_XXX where possible
This is part of attempting to get rid of MessageLoop::Type enum.
BUG=none
TEST=none
R=darin@chromium.org
Review URL: https://codereview.chromium.org/136683004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244996 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print')
-rw-r--r-- | cloud_print/gcp20/prototype/gcp20_device.cc | 2 | ||||
-rw-r--r-- | cloud_print/service/service_state.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cloud_print/gcp20/prototype/gcp20_device.cc b/cloud_print/gcp20/prototype/gcp20_device.cc index 57972a3..74040bd0 100644 --- a/cloud_print/gcp20/prototype/gcp20_device.cc +++ b/cloud_print/gcp20/prototype/gcp20_device.cc @@ -90,7 +90,7 @@ int main(int argc, char* argv[]) { signal(SIGINT, OnAbort); // Handle Ctrl+C signal. - base::MessageLoop loop(base::MessageLoop::TYPE_IO); + base::MessageLoopForIO loop; g_message_loop = &loop; g_message_loop->PostTask(FROM_HERE, base::Bind(&StartPrinter, &printer)); base::RunLoop runner; diff --git a/cloud_print/service/service_state.cc b/cloud_print/service/service_state.cc index 01d315b..0894e20 100644 --- a/cloud_print/service/service_state.cc +++ b/cloud_print/service/service_state.cc @@ -160,7 +160,7 @@ std::string ServiceState::ToString() { std::string ServiceState::LoginToGoogle(const std::string& service, const std::string& email, const std::string& password) { - base::MessageLoop loop(base::MessageLoop::TYPE_IO); + base::MessageLoopForIO loop; net::URLRequestContextBuilder builder; scoped_ptr<net::URLRequestContext> context(builder.Build()); |