forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathintent_helper.h
28 lines (20 loc) · 849 Bytes
/
intent_helper.h
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
28
// 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);
// Triggers an intent to open the date and time settings.
void OpenDateAndTimeSettings();
} // namespace android
} // namespace chrome
#endif // CHROME_BROWSER_ANDROID_INTENT_HELPER_H_