| Index: chrome/browser/ui/webui/browsing_history_handler.cc
|
| diff --git a/chrome/browser/ui/webui/browsing_history_handler.cc b/chrome/browser/ui/webui/browsing_history_handler.cc
|
| index dbc8eccae65de458d204bbf0e76f789f42f31651..287a20761f3c589720f8cea99d0c786f8591aec2 100644
|
| --- a/chrome/browser/ui/webui/browsing_history_handler.cc
|
| +++ b/chrome/browser/ui/webui/browsing_history_handler.cc
|
| @@ -438,8 +438,6 @@ void BrowsingHistoryHandler::QueryHistory(
|
|
|
| query_results_.clear();
|
| results_info_value_.Clear();
|
| - has_synced_results_ = false;
|
| - has_other_forms_of_browsing_history_ = false;
|
|
|
| history::HistoryService* hs = HistoryServiceFactory::GetForProfile(
|
| profile, ServiceAccessType::EXPLICIT_ACCESS);
|
| @@ -481,6 +479,8 @@ void BrowsingHistoryHandler::QueryHistory(
|
| } else {
|
| // The notice could not have been shown, because there is no web history.
|
| RecordMetricsForNoticeAboutOtherFormsOfBrowsingHistory(false);
|
| + has_synced_results_ = false;
|
| + has_other_forms_of_browsing_history_ = false;
|
| }
|
| }
|
|
|
|
|