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

Unified Diff: chrome/browser/ui/android/autofill/autofill_dialog_result.h

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/android/autofill/autofill_dialog_result.h
diff --git a/chrome/browser/ui/android/autofill/autofill_dialog_result.h b/chrome/browser/ui/android/autofill/autofill_dialog_result.h
deleted file mode 100644
index c90336be8bf6f04280a0777b440c853e70cfa986..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/android/autofill/autofill_dialog_result.h
+++ /dev/null
@@ -1,51 +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.
-
-#ifndef CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_RESULT_H_
-#define CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_RESULT_H_
-
-#include <jni.h>
-
-#include <memory>
-#include <string>
-
-#include "base/macros.h"
-#include "base/strings/string16.h"
-
-namespace autofill {
-namespace wallet {
-class FullWallet;
-}
-}
-
-namespace autofill {
-
-// A result of the non-cancelled Java-side AutofillDialog invocation.
-// Passed to the AutofillDialogControllerAndroid in dialogContinue.
-class AutofillDialogResult {
- public:
- // Converts the requested information to wallet::FullWallet.
- // The dialog stores the requested information in the same format
- // regardless if the information was obtained from Autofill or Google Wallet.
- static std::unique_ptr<wallet::FullWallet> ConvertFromJava(JNIEnv* env,
- jobject wallet);
-
- // Returns the email address to be associated with this request,
- // or an empty string.
- static base::string16 GetWalletEmail(JNIEnv* env, jobject wallet);
-
- // Returns the Google Transaction ID to be associated with this request,
- // or an empty string.
- static std::string GetWalletGoogleTransactionId(JNIEnv* env, jobject wallet);
-
- // Establishes JNI bindings.
- static bool RegisterAutofillDialogResult(JNIEnv* env);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(AutofillDialogResult);
-};
-
-} // namespace autofill
-
-#endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_RESULT_H_

Powered by Google App Engine
This is Rietveld 408576698