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

Side by Side Diff: chrome/browser/translate/translate_delegate_impl.cc

Issue 131463002: Move TranslateURLFetcher to the translate component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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 unified diff | Download patch
OLDNEW
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698