OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_RESULT_H_ | |
6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_RESULT_H_ | |
7 | |
8 #include <jni.h> | |
9 #include <string> | |
10 | |
11 #include "base/memory/scoped_ptr.h" | |
12 #include "base/strings/string16.h" | |
13 | |
14 namespace autofill { | |
15 namespace wallet { | |
16 class FullWallet; | |
17 } | |
18 } | |
19 | |
20 namespace autofill { | |
21 | |
22 // 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.
| |
23 class AutofillDialogResult { | |
24 public: | |
25 static scoped_ptr<wallet::FullWallet> ConvertFromJava( | |
26 JNIEnv* env, jobject wallet); | |
27 | |
28 static base::string16 GetWalletEmail(JNIEnv* env, jobject wallet); | |
29 | |
30 static std::string GetWalletGoogleTransactionId(JNIEnv* env, jobject wallet); | |
31 | |
32 static bool RegisterAutofillDialogResult(JNIEnv* env); | |
33 | |
34 private: | |
35 DISALLOW_COPY_AND_ASSIGN(AutofillDialogResult); | |
36 }; | |
37 | |
38 } // namespace autofill | |
39 | |
40 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_RESULT_H_ | |
OLD | NEW |