OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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 "chrome/browser/translate/translate_delegate_impl.h" |
| 6 |
| 7 #include "base/memory/singleton.h" |
| 8 #include "chrome/browser/browser_process.h" |
| 9 |
| 10 TranslateDelegateImpl* TranslateDelegateImpl::GetInstance() { |
| 11 return Singleton<TranslateDelegateImpl>::get(); |
| 12 } |
| 13 |
| 14 TranslateDelegateImpl::TranslateDelegateImpl() { |
| 15 } |
| 16 |
| 17 TranslateDelegateImpl::~TranslateDelegateImpl() { |
| 18 } |
| 19 |
| 20 // TranslateDelegate methods. |
| 21 |
| 22 net::URLRequestContextGetter* TranslateDelegateImpl::GetURLRequestContext() { |
| 23 return g_browser_process->system_request_context(); |
| 24 } |
OLD | NEW |