Index: components/omnibox/browser/omnibox_edit_model.h |
diff --git a/components/omnibox/browser/omnibox_edit_model.h b/components/omnibox/browser/omnibox_edit_model.h |
index f6118843eed631cebeec07e5f9801f7e61e62d3b..fdf7d9305e5a16c2cda1cd0c5f4ae6c4121ee200 100644 |
--- a/components/omnibox/browser/omnibox_edit_model.h |
+++ b/components/omnibox/browser/omnibox_edit_model.h |
@@ -160,6 +160,9 @@ class OmniboxEditModel { |
// Returns the URL corresponding to the permanent text. |
GURL PermanentURL() const; |
+ // Returns the raw permanent text. |
+ const base::string16& PermanentText() { return permanent_text_; } |
+ |
// Sets the user_text_ to |text|. Only the View should call this. |
void SetUserText(const base::string16& text); |