ExtensionSyncService: listen for relevant changes instead of being explicitly called...
[chromium-blink-merge.git] / chrome / browser / android / intent_helper.h
blobc6f724ca9055fb05bd169133de60342794d12346
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.
5 #ifndef CHROME_BROWSER_ANDROID_INTENT_HELPER_H_
6 #define CHROME_BROWSER_ANDROID_INTENT_HELPER_H_
8 #include <jni.h>
10 #include "base/strings/string16.h"
12 namespace chrome {
13 namespace android {
15 // Triggers a send email intent.
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);
22 // Triggers an intent to open the date and time settings.
23 void OpenDateAndTimeSettings();
25 bool RegisterIntentHelper(JNIEnv* env);
27 } // namespace android
28 } // namespace chrome
30 #endif // CHROME_BROWSER_ANDROID_INTENT_HELPER_H_