Commit 501ff567 authored by zea@chromium.org's avatar zea@chromium.org

Revert 271773 "Fix RlzLibTest by setting OmniboxLog.is_popup_ope..."

Breaks official mac builder. See bug.

> Fix RlzLibTest by setting OmniboxLog.is_popup_open to be true in function SimulateOmniboxUsage. 
> 
> BUG=369249
> 
> Review URL: https://codereview.chromium.org/282293003

TBR=yiyaoliu@chromium.org

Review URL: https://codereview.chromium.org/299703005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271790 0039d316-1c4b-4281-b951-d872f2087c98
parent 55f45227
...@@ -230,12 +230,9 @@ void RlzLibTest::SetRegistryBrandValue(const wchar_t* name, ...@@ -230,12 +230,9 @@ void RlzLibTest::SetRegistryBrandValue(const wchar_t* name,
#endif #endif
void RlzLibTest::SimulateOmniboxUsage() { void RlzLibTest::SimulateOmniboxUsage() {
// Set is_popup_open for the OmniboxLog to be true.
OmniboxLog dummy = OmniboxLog(NULL, false, NULL, true, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL);
tracker_.Observe(chrome::NOTIFICATION_OMNIBOX_OPENED_URL, tracker_.Observe(chrome::NOTIFICATION_OMNIBOX_OPENED_URL,
content::NotificationService::AllSources(), content::NotificationService::AllSources(),
content::Details<OmniboxLog>(dummy)); content::Details<OmniboxLog>(NULL));
} }
void RlzLibTest::SimulateHomepageUsage() { void RlzLibTest::SimulateHomepageUsage() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment