| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/renderer/pepper/resource_converter.h" | 5 #include "content/renderer/pepper/resource_converter.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 | 11 |
| 12 ResourceConverter::ResourceConverter() { | |
| 13 } | |
| 14 | |
| 15 ResourceConverter::~ResourceConverter() { | 12 ResourceConverter::~ResourceConverter() { |
| 16 } | 13 } |
| 17 | 14 |
| 18 void ResourceConverter::ShutDown( | 15 ResourceConverterImpl::ResourceConverterImpl() { |
| 19 const base::Callback<void(bool)>& callback, | 16 } |
| 20 const scoped_refptr<base::MessageLoopProxy>& message_loop_proxy) { | 17 |
| 18 ResourceConverterImpl::~ResourceConverterImpl() { |
| 19 } |
| 20 |
| 21 void ResourceConverterImpl::ShutDown( |
| 22 const base::Callback<void(bool)>& callback) { |
| 21 // TODO(raymes): Implement the creation of a browser resource host here. | 23 // TODO(raymes): Implement the creation of a browser resource host here. |
| 22 message_loop_proxy->PostTask(FROM_HERE, base::Bind(callback, true)); | 24 base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(callback, true)); |
| 23 } | 25 } |
| 24 | 26 |
| 25 } // namespace content | 27 } // namespace content |
| OLD | NEW |