[email protected] | fd259446 | 2012-07-24 03:33:56 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style license that can be | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #ifndef CHROME_BROWSER_ANDROID_INTENT_HELPER_H_ | ||||
6 | #define CHROME_BROWSER_ANDROID_INTENT_HELPER_H_ | ||||
7 | |||||
8 | #include <jni.h> | ||||
9 | |||||
[email protected] | e746341 | 2013-06-10 22:53:46 | [diff] [blame] | 10 | #include "base/strings/string16.h" |
[email protected] | fd259446 | 2012-07-24 03:33:56 | [diff] [blame] | 11 | |
12 | namespace chrome { | ||||
13 | namespace android { | ||||
14 | |||||
15 | // Triggers a send email intent. | ||||
[email protected] | 9692015 | 2013-12-04 21:00:16 | [diff] [blame] | 16 | void SendEmail(const base::string16& data_email, |
17 | const base::string16& data_subject, | ||||
18 | const base::string16& data_body, | ||||
19 | const base::string16& data_chooser_title, | ||||
20 | const base::string16& data_file_to_attach); | ||||
[email protected] | fd259446 | 2012-07-24 03:33:56 | [diff] [blame] | 21 | |
lgarron | 82d703d | 2014-11-07 20:18:43 | [diff] [blame] | 22 | // Triggers an intent to open the date and time settings. |
23 | void OpenDateAndTimeSettings(); | ||||
24 | |||||
[email protected] | fd259446 | 2012-07-24 03:33:56 | [diff] [blame] | 25 | } // namespace android |
26 | } // namespace chrome | ||||
27 | |||||
28 | #endif // CHROME_BROWSER_ANDROID_INTENT_HELPER_H_ |