diff options
author | amineer@chromium.org <amineer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-21 03:19:06 +0000 |
---|---|---|
committer | amineer@chromium.org <amineer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-21 03:19:06 +0000 |
commit | 06385d85217ec340b965d9ee248beb120d2f29d3 (patch) | |
tree | fabbfc74840df9dd627c76d087bf26ab4182d6a9 | |
parent | d8afc1df9058419413aafdb2aefd474c5df8baa6 (diff) | |
download | chromium_src-06385d85217ec340b965d9ee248beb120d2f29d3.zip chromium_src-06385d85217ec340b965d9ee248beb120d2f29d3.tar.gz chromium_src-06385d85217ec340b965d9ee248beb120d2f29d3.tar.bz2 |
Revert 271773 "Fix RlzLibTest by setting OmniboxLog.is_popup_ope..."
> 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/294473008
git-svn-id: svn://svn.chromium.org/chrome/branches/2006/src@271837 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/rlz/rlz_unittest.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/rlz/rlz_unittest.cc b/chrome/browser/rlz/rlz_unittest.cc index 81686da..2b09959 100644 --- a/chrome/browser/rlz/rlz_unittest.cc +++ b/chrome/browser/rlz/rlz_unittest.cc @@ -230,12 +230,9 @@ void RlzLibTest::SetRegistryBrandValue(const wchar_t* name, #endif 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, content::NotificationService::AllSources(), - content::Details<OmniboxLog>(dummy)); + content::Details<OmniboxLog>(NULL)); } void RlzLibTest::SimulateHomepageUsage() { |