Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1069)

Unified Diff: chrome/browser/autofill/autofill_manager_unittest.cc

Issue 10024059: DataList UI (Chromium part) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added type ahead for datalist Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autofill/autofill_manager_unittest.cc
diff --git a/chrome/browser/autofill/autofill_manager_unittest.cc b/chrome/browser/autofill/autofill_manager_unittest.cc
index 0d4cebbf77e134ea16def44ddc4c2cf7997cdb2a..ed997632fac0c084ba5c9d030bc5d08a229fa161 100644
--- a/chrome/browser/autofill/autofill_manager_unittest.cc
+++ b/chrome/browser/autofill/autofill_manager_unittest.cc
@@ -43,6 +43,7 @@
#include "ui/gfx/rect.h"
#include "webkit/forms/form_data.h"
#include "webkit/forms/form_field.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebAutofillClient.h"
using content::BrowserThread;
using content::WebContents;
@@ -911,7 +912,7 @@ TEST_F(AutofillManagerTest, GetProfileSuggestionsMethodGet) {
};
string16 expected_labels[] = {string16()};
string16 expected_icons[] = {string16()};
- int expected_unique_ids[] = {-1};
+ int expected_unique_ids[] = {WebKit::WarningMessageMenuItemID};
Ilya Sherman 2012/04/16 21:45:49 nit: I think you need to update the namespace unwr
keishi 2012/04/17 09:15:10 Done.
ExpectSuggestions(page_id, values, labels, icons, unique_ids,
kDefaultPageID, arraysize(expected_values), expected_values,
expected_labels, expected_icons, expected_unique_ids);

Powered by Google App Engine
This is Rietveld 408576698