chromium/components/browser_ui/share/android/intent_helper.h

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_BROWSER_UI_SHARE_ANDROID_INTENT_HELPER_H_
#define COMPONENTS_BROWSER_UI_SHARE_ANDROID_INTENT_HELPER_H_

#include <jni.h>

#include <string>

namespace browser_ui {

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

}  // namespace browser_ui

#endif  // COMPONENTS_BROWSER_UI_SHARE_ANDROID_INTENT_HELPER_H_