| Index: chrome/browser/ui/translate/translate_bubble_model.h
|
| diff --git a/chrome/browser/ui/translate/translate_bubble_model.h b/chrome/browser/ui/translate/translate_bubble_model.h
|
| index fdf5b3a1d66914c05585d4834fc2fd7fec35be38..6b89dffeef3697f0023d6c5692705e5f489384a9 100644
|
| --- a/chrome/browser/ui/translate/translate_bubble_model.h
|
| +++ b/chrome/browser/ui/translate/translate_bubble_model.h
|
| @@ -8,6 +8,7 @@
|
| #include <string>
|
|
|
| #include "base/strings/string16.h"
|
| +#include "chrome/common/translate/translate_errors.h"
|
|
|
| // The model for the Translate bubble UX. This manages the user's manipulation
|
| // of the bubble and offers the data to show on the bubble.
|
| @@ -39,6 +40,12 @@ class TranslateBubbleModel {
|
| // Transitions the view state.
|
| virtual void SetViewState(ViewState view_state) = 0;
|
|
|
| + // Returns the error type.
|
| + virtual TranslateErrors::Type GetErrorType() const = 0;
|
| +
|
| + // Sets the error type.
|
| + virtual void SetErrorType(TranslateErrors::Type error_type) = 0;
|
| +
|
| // Goes back from the 'Advanced' view state.
|
| virtual void GoBackFromAdvanced() = 0;
|
|
|
|
|