summaryrefslogtreecommitdiffstats
path: root/chrome/browser/android/intent_helper.h
blob: 95c2e7ecace620d4c843b204dac9e0fc8cb12e0a (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/strings/string16.h"

namespace chrome {
namespace android {

// Triggers a send email intent.
void SendEmail(const base::string16& data_email,
               const base::string16& data_subject,
               const base::string16& data_body,
               const base::string16& data_chooser_title,
               const base::string16& data_file_to_attach);

bool RegisterIntentHelper(JNIEnv* env);

}  // namespace android
}  // namespace chrome

#endif  // CHROME_BROWSER_ANDROID_INTENT_HELPER_H_