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 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_DELEGATE_H_ | |
6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_DELEGATE_H_ | |
7 | |
8 namespace net { | |
9 class URLRequestContextGetter; | |
10 } | |
11 | |
12 // A concrete instance of TranslateDelegate has to be provided by the embedder | |
13 // of the Translate component. | |
14 class TranslateDelegate { | |
15 public: | |
16 | |
17 // Returns the URL request context information associated with this driver. | |
blundell
2014/01/09 12:14:17
"Returns the URL request context in which the Tran
| |
18 virtual net::URLRequestContextGetter* GetURLRequestContext() = 0; | |
19 | |
20 }; | |
21 | |
22 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_DELEGATE_H_ | |
OLD | NEW |