| Index: chrome/browser/ui/webui/history_ui.cc
|
| diff --git a/chrome/browser/ui/webui/history_ui.cc b/chrome/browser/ui/webui/history_ui.cc
|
| index 2dcaf3f3973fa28ecbbf6e540a75a7cd7f2b18bd..1d5c83cf341c4c7a742e4d3cad7acadfb640e171 100644
|
| --- a/chrome/browser/ui/webui/history_ui.cc
|
| +++ b/chrome/browser/ui/webui/history_ui.cc
|
| @@ -217,20 +217,6 @@ void normalizeMonths(base::Time::Exploded* exploded) {
|
| }
|
| }
|
|
|
| -// Returns the URL of a query result value.
|
| -bool GetResultTimeAndUrl(Value* result, base::Time* time, string16* url) {
|
| - DictionaryValue* result_dict;
|
| - double timestamp;
|
| -
|
| - if (result->GetAsDictionary(&result_dict) &&
|
| - result_dict->GetDouble("time", ×tamp) &&
|
| - result_dict->GetString("url", url)) {
|
| - *time = base::Time::FromJsTime(timestamp);
|
| - return true;
|
| - }
|
| - return false;
|
| -}
|
| -
|
| // Returns true if |entry| represents a local visit that had no corresponding
|
| // visit on the server.
|
| bool IsLocalOnlyResult(const BrowsingHistoryHandler::HistoryEntry& entry) {
|
|
|