Chromium Code Reviews| Index: components/translate/core/browser/translate_delegate.h |
| diff --git a/components/translate/core/browser/translate_delegate.h b/components/translate/core/browser/translate_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c61bb94ecad27d69133cb44abf538fbb16279103 |
| --- /dev/null |
| +++ b/components/translate/core/browser/translate_delegate.h |
| @@ -0,0 +1,22 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_DELEGATE_H_ |
| +#define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_DELEGATE_H_ |
| + |
| +namespace net { |
| +class URLRequestContextGetter; |
| +} |
| + |
| +// A concrete instance of TranslateDelegate has to be provided by the embedder |
| +// of the Translate component. |
| +class TranslateDelegate { |
| + public: |
| + |
| + // 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
|
| + virtual net::URLRequestContextGetter* GetURLRequestContext() = 0; |
| + |
| +}; |
| + |
| +#endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_DELEGATE_H_ |