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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_common.cc

Issue 1931043002: Remove requestAutocomplete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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/ui/autofill/autofill_dialog_common.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_common.cc b/chrome/browser/ui/autofill/autofill_dialog_common.cc
deleted file mode 100644
index 565319957e0fd92abb50d42ddbfcc0982649eb96..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/autofill/autofill_dialog_common.cc
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/ui/autofill/autofill_dialog_common.h"
-
-namespace autofill {
-namespace common {
-
-AutofillMetrics::DialogUiEvent DialogSectionToUiItemAddedEvent(
- DialogSection section) {
- switch (section) {
- case SECTION_BILLING:
- return AutofillMetrics::DIALOG_UI_BILLING_ITEM_ADDED;
-
- case SECTION_SHIPPING:
- return AutofillMetrics::DIALOG_UI_SHIPPING_ITEM_ADDED;
-
- case SECTION_CC:
- return AutofillMetrics::DIALOG_UI_CC_ITEM_ADDED;
- }
-
- NOTREACHED();
- return AutofillMetrics::NUM_DIALOG_UI_EVENTS;
-}
-
-AutofillMetrics::DialogUiEvent DialogSectionToUiSelectionChangedEvent(
- DialogSection section) {
- switch (section) {
- case SECTION_BILLING:
- return AutofillMetrics::DIALOG_UI_BILLING_SELECTED_SUGGESTION_CHANGED;
-
- case SECTION_SHIPPING:
- return AutofillMetrics::DIALOG_UI_SHIPPING_SELECTED_SUGGESTION_CHANGED;
-
- case SECTION_CC:
- return AutofillMetrics::DIALOG_UI_CC_SELECTED_SUGGESTION_CHANGED;
- }
-
- NOTREACHED();
- return AutofillMetrics::NUM_DIALOG_UI_EVENTS;
-}
-
-} // namespace common
-} // namespace autofill
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_common.h ('k') | chrome/browser/ui/autofill/autofill_dialog_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698