Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Side by Side Diff: chrome/browser/android/intent_helper.h

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android: Don't require RegisterNatives if there are none Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ANDROID_INTENT_HELPER_H_ 5 #ifndef CHROME_BROWSER_ANDROID_INTENT_HELPER_H_
6 #define CHROME_BROWSER_ANDROID_INTENT_HELPER_H_ 6 #define CHROME_BROWSER_ANDROID_INTENT_HELPER_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 11
12 namespace chrome { 12 namespace chrome {
13 namespace android { 13 namespace android {
14 14
15 // Triggers a send email intent. 15 // Triggers a send email intent.
16 void SendEmail(const base::string16& data_email, 16 void SendEmail(const base::string16& data_email,
17 const base::string16& data_subject, 17 const base::string16& data_subject,
18 const base::string16& data_body, 18 const base::string16& data_body,
19 const base::string16& data_chooser_title, 19 const base::string16& data_chooser_title,
20 const base::string16& data_file_to_attach); 20 const base::string16& data_file_to_attach);
21 21
22 // Triggers an intent to open the date and time settings. 22 // Triggers an intent to open the date and time settings.
23 void OpenDateAndTimeSettings(); 23 void OpenDateAndTimeSettings();
24 24
25 bool RegisterIntentHelper(JNIEnv* env);
26
27 } // namespace android 25 } // namespace android
28 } // namespace chrome 26 } // namespace chrome
29 27
30 #endif // CHROME_BROWSER_ANDROID_INTENT_HELPER_H_ 28 #endif // CHROME_BROWSER_ANDROID_INTENT_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698