| Index: chrome/browser/profiles/profile_android.h
|
| diff --git a/chrome/browser/profiles/profile_android.h b/chrome/browser/profiles/profile_android.h
|
| index 0017b5ba0636165905ff24cb7ee19d17670d8241..d0cd60ff5ca4ae472a4ec49b2fcdaae7c8c8c8d1 100644
|
| --- a/chrome/browser/profiles/profile_android.h
|
| +++ b/chrome/browser/profiles/profile_android.h
|
| @@ -23,6 +23,17 @@ class ProfileAndroid : public base::SupportsUserData::Data {
|
|
|
| static jobject GetLastUsedProfile(JNIEnv* env, jclass clazz);
|
|
|
| + // Return the incognito profile.
|
| + //
|
| + // WARNING: This will create the OffTheRecord profile if it doesn't already
|
| + // exist. If this isn't what you want, you need to check
|
| + // HasOffTheRecordProfile() first.
|
| + base::android::ScopedJavaLocalRef<jobject> GetOffTheRecordProfile(
|
| + JNIEnv* env, jobject obj);
|
| +
|
| + // Return whether an off the record profile exists.
|
| + jboolean HasOffTheRecordProfile(JNIEnv* env, jobject obj);
|
| +
|
| explicit ProfileAndroid(Profile* profile);
|
| virtual ~ProfileAndroid();
|
|
|
|
|