| Index: chrome/renderer/navigation_state.h
|
| ===================================================================
|
| --- chrome/renderer/navigation_state.h (revision 38414)
|
| +++ chrome/renderer/navigation_state.h (working copy)
|
| @@ -211,6 +211,10 @@
|
| void set_was_fetched_via_spdy(bool value) { was_fetched_via_spdy_ = value; }
|
| bool was_fetched_via_spdy() const { return was_fetched_via_spdy_; }
|
|
|
| + // Whether the frame text contents was translated to a different language.
|
| + void set_was_translated(bool value) { was_translated_ = value; }
|
| + bool was_translated() const { return was_translated_; }
|
| +
|
| private:
|
| NavigationState(PageTransition::Type transition_type,
|
| const base::Time& request_time,
|
| @@ -227,7 +231,8 @@
|
| cache_policy_override_set_(false),
|
| cache_policy_override_(WebKit::WebURLRequest::UseProtocolCachePolicy),
|
| user_script_idle_scheduler_(NULL),
|
| - was_fetched_via_spdy_(false) {
|
| + was_fetched_via_spdy_(false),
|
| + was_translated_(false) {
|
| }
|
|
|
| PageTransition::Type transition_type_;
|
| @@ -258,6 +263,8 @@
|
|
|
| bool was_fetched_via_spdy_;
|
|
|
| + bool was_translated_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(NavigationState);
|
| };
|
|
|
|
|