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

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

Issue 21124012: [WIP] Split AutofillDialogControllerImpl + integrate rAc on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
new file mode 100644
index 0000000000000000000000000000000000000000..f386bdaddbd996f89d0529f700223b815a4bdbf7
--- /dev/null
+++ b/chrome/browser/ui/android/autofill/autofill_dialog_result.h
@@ -0,0 +1,40 @@
+// Copyright (c) 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 <string>
+
+#include "base/memory/scoped_ptr.h"
+#include "base/strings/string16.h"
+
+namespace autofill {
+namespace wallet {
+class FullWallet;
+}
+}
+
+namespace autofill {
+
+// TODO(aruslan): name and description; should be moved into a separate .h.
Evan Stade 2013/08/01 19:44:52 ^
aruslan 2013/08/07 23:17:03 Done.
+class AutofillDialogResult {
+ public:
+ static scoped_ptr<wallet::FullWallet> ConvertFromJava(
+ JNIEnv* env, jobject wallet);
+
+ static base::string16 GetWalletEmail(JNIEnv* env, jobject wallet);
+
+ static std::string GetWalletGoogleTransactionId(JNIEnv* env, jobject wallet);
+
+ 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