summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_omnibox_apitest.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-16 16:31:27 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-16 16:31:27 +0000
commit28b6e256ff306cac4d42fce6684cb7329aaef0cc (patch)
treeb163675cd3aec3130d97969de2eaccf1513ba7ef /chrome/browser/extensions/extension_omnibox_apitest.cc
parentcb15d15effa70c3052b474437a895b387367520c (diff)
downloadchromium_src-28b6e256ff306cac4d42fce6684cb7329aaef0cc.zip
chromium_src-28b6e256ff306cac4d42fce6684cb7329aaef0cc.tar.gz
chromium_src-28b6e256ff306cac4d42fce6684cb7329aaef0cc.tar.bz2
Autocomplete cleanup patch. Adds AutocompleteControllerDelegate in
addition to the notification. The notification is now only sent out when done. Also makes the editmodel own the controller. BUG=none TEST=none Review URL: http://codereview.chromium.org/6519014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75126 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_omnibox_apitest.cc')
-rw-r--r--chrome/browser/extensions/extension_omnibox_apitest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_omnibox_apitest.cc b/chrome/browser/extensions/extension_omnibox_apitest.cc
index 82c9f32..4592b0b 100644
--- a/chrome/browser/extensions/extension_omnibox_apitest.cc
+++ b/chrome/browser/extensions/extension_omnibox_apitest.cc
@@ -70,7 +70,7 @@ class OmniboxApiTest : public ExtensionApiTest {
void WaitForAutocompleteDone(AutocompleteController* controller) {
while (!controller->done()) {
ui_test_utils::WaitForNotification(
- NotificationType::AUTOCOMPLETE_CONTROLLER_RESULT_UPDATED);
+ NotificationType::AUTOCOMPLETE_CONTROLLER_RESULT_READY);
}
}
};