diff options
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete.cc | 5 | ||||
-rw-r--r-- | chrome/browser/autocomplete/history_url_provider.cc | 3 | ||||
-rw-r--r-- | chrome/browser/autocomplete/search_provider.cc | 2 |
3 files changed, 3 insertions, 7 deletions
diff --git a/chrome/browser/autocomplete/autocomplete.cc b/chrome/browser/autocomplete/autocomplete.cc index bbd4509..5b031f527 100644 --- a/chrome/browser/autocomplete/autocomplete.cc +++ b/chrome/browser/autocomplete/autocomplete.cc @@ -2,12 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "build/build_config.h" - #include "chrome/browser/autocomplete/autocomplete.h" #include <algorithm> +#include "base/basictypes.h" #include "base/string_util.h" #include "chrome/browser/autocomplete/history_url_provider.h" #include "chrome/browser/autocomplete/history_contents_provider.h" @@ -435,7 +434,7 @@ std::wstring AutocompleteProvider::StringForURLDisplay( #else // TODO(port): need gfx::ElideUrl and ChromeFont NOTIMPLEMENTED(); - return std::wstring(); + return UTF8ToWide(url.spec()); #endif } diff --git a/chrome/browser/autocomplete/history_url_provider.cc b/chrome/browser/autocomplete/history_url_provider.cc index 539eac78..783af00 100644 --- a/chrome/browser/autocomplete/history_url_provider.cc +++ b/chrome/browser/autocomplete/history_url_provider.cc @@ -2,12 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "build/build_config.h" - #include "chrome/browser/autocomplete/history_url_provider.h" #include <algorithm> +#include "base/basictypes.h" #include "base/histogram.h" #include "base/message_loop.h" #include "base/string_util.h" diff --git a/chrome/browser/autocomplete/search_provider.cc b/chrome/browser/autocomplete/search_provider.cc index 8c9a8e3..477543d 100644 --- a/chrome/browser/autocomplete/search_provider.cc +++ b/chrome/browser/autocomplete/search_provider.cc @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "build/build_config.h" - #include "chrome/browser/autocomplete/search_provider.h" #include "base/message_loop.h" |