Index: chrome/browser/android/intent_helper.h |
diff --git a/chrome/browser/android/intent_helper.h b/chrome/browser/android/intent_helper.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6c97c9ca2b9d285aa909045c011d034ab932ea6f |
--- /dev/null |
+++ b/chrome/browser/android/intent_helper.h |
@@ -0,0 +1,26 @@ |
+// Copyright (c) 2012 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_ANDROID_INTENT_HELPER_H_ |
+#define CHROME_BROWSER_ANDROID_INTENT_HELPER_H_ |
+ |
+#include <jni.h> |
+ |
+#include "base/string16.h" |
+ |
+namespace chrome { |
+namespace android { |
+ |
+// Triggers a send email intent. |
+void SendEmail(const string16& data_email, |
+ const string16& data_subj, |
+ const string16& data_body, |
+ const string16& data_inv); |
+ |
+bool RegisterIntentHelper(JNIEnv* env); |
+ |
+} // namespace android |
+} // namespace chrome |
+ |
+#endif // CHROME_BROWSER_ANDROID_INTENT_HELPER_H_ |