summaryrefslogtreecommitdiffstats
path: root/chrome/browser/android/intent_helper.h
blob: 944b205228f69e0d5b2827a3a1a66b3a52c82f2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// 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,
               const string16& data_file_to_attach);

bool RegisterIntentHelper(JNIEnv* env);

}  // namespace android
}  // namespace chrome

#endif  // CHROME_BROWSER_ANDROID_INTENT_HELPER_H_