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

Unified Diff: chrome/browser/android/intent_helper.h

Issue 10809061: Remove promo send email from tab android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolve review comments. Created 8 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/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..fdcd2e47c9b34027ca97f39b74cfddc7b07d6f59
--- /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_subject,
+ const string16& data_body,
+ const string16& data_chooser_title);
+
+bool RegisterIntentHelper(JNIEnv* env);
+
+} // namespace android
+} // namespace chrome
+
+#endif // CHROME_BROWSER_ANDROID_INTENT_HELPER_H_
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/IntentHelper.java ('k') | chrome/browser/android/intent_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698