summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/omnibox/location_bar.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-03 21:22:22 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-03 21:22:22 +0000
commitc4eb046a351ca2ffbb377e8ac6de522eaa5a6e79 (patch)
tree9d873629ae75808bf6ea106954a1405522475e6b /chrome/browser/ui/omnibox/location_bar.h
parentcc1a9217db9df2d761b8869d62eb37253e382436 (diff)
downloadchromium_src-c4eb046a351ca2ffbb377e8ac6de522eaa5a6e79.zip
chromium_src-c4eb046a351ca2ffbb377e8ac6de522eaa5a6e79.tar.gz
chromium_src-c4eb046a351ca2ffbb377e8ac6de522eaa5a6e79.tar.bz2
Convert GetInputString() to GetDestinationURL().
There's no reason to convert GURL -> string16 -> GURL. BUG=none TEST=none R=sky@chromium.org Review URL: https://codereview.chromium.org/25645003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226849 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/omnibox/location_bar.h')
-rw-r--r--chrome/browser/ui/omnibox/location_bar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/ui/omnibox/location_bar.h b/chrome/browser/ui/omnibox/location_bar.h
index 3a4fc68..8d78f37 100644
--- a/chrome/browser/ui/omnibox/location_bar.h
+++ b/chrome/browser/ui/omnibox/location_bar.h
@@ -16,6 +16,7 @@
#include "base/strings/string16.h"
#include "content/public/common/page_transition_types.h"
#include "ui/base/window_open_disposition.h"
+#include "url/gurl.h"
class ExtensionAction;
class LocationBarTesting;
@@ -31,7 +32,7 @@ class LocationBar {
virtual void ShowFirstRunBubble() = 0;
// Returns the string of text entered in the location bar.
- virtual string16 GetInputString() const = 0;
+ virtual GURL GetDestinationURL() const = 0;
// Returns the WindowOpenDisposition that should be used to determine where
// to open a URL entered in the location bar.